Message8914

Author keramida
Recipients astratto, djc
Date 2009-03-27.02:07:44
Content
I'm attaching a first cut at fixing this.  The issue1574.c2ecaf63bade.diff
patch applies cleanly on crew:c2ecaf63bade and it refreshes patches in
git-style format when rebased.

The only tricky bit is that *all* patches are refreshed in git-style when
"[defaults] qrefresh = --git" or "[defaults] qimport = --git".  This may
still be a bit surprising if there is a "mixed" patch queue with both
plain style and git-style patches.

I'm not sure I grok all the internals of MQ enough to parse the existing
patches before updatemq() runs repo.mq.finish() on them.  Reading the
patches before unregistering them, and then using git=True only for those
that already had it would probably be a slightly better way of refreshing
rebased patches.
Files
File name Uploaded
issue1574.c2ecaf63bade.diff keramida, 2009-03-27.02:07:44
History
Date User Action Args
2009-03-27 02:07:48keramidasetrecipients: + djc, astratto
2009-03-27 02:07:48keramidasetmessageid: <1238119668.77.0.972553484395.issue1574@selenic.com>
2009-03-27 02:07:48keramidalinkissue1574 messages
2009-03-27 02:07:44keramidacreate