Conver MQ patch into local changes
illusory
illusory2 at yahoo.co.uk
Mon Oct 3 11:45:59 UTC 2011
Wujek Srujek wrote:
> Hi. I have a MQ patch that I don't want to be a patch anymore. How do I get rid
> of the patch and get all of its changes as local changes? I know that I can
> simply pop the patch, and import the patch file, but maybe there is a MQ
> command for it?
There is no command. The best you can do is something like this (assuming that you're at the root of:
hg qrefresh -X .
hg qpop
From "hg help qrefresh":
If any file patterns are provided, the refreshed patch will contain only
the modifications that match those patterns; the remaining modifications
will remain in the working directory.
I think there should be a specific command for this, though, so I filed the following issue:
http://mercurial.selenic.com/bts/issue2991
More information about the Mercurial
mailing list