Splitting Patches

Wagner Bruna wagner.bruna+mercurial at gmail.com
Fri Oct 9 00:51:38 UTC 2009


Hello,

Stephen Rasku wrote:
> Is there an easy way to split an MQ patch?  I am working on a change
> in my repository and I want to change my approach.  However, I added a
> lot of diagnostics that I would like to keep.  So, I would like to
> split the patches into diags.patch and broken.patch.  I can then take
> the advantage of the diags by applying diags.patch but can pop
> broken.patch and start working on working.patch.  Is there an easy way
> to do this?

Try the commit tool from TortoiseHg; it can selectively refresh the
last patch, and make another one with the changes left behind.

++t;
Wagner




More information about the Mercurial mailing list