Trimming dead branches

Bryan Murdock bmurdock at gmail.com
Thu Feb 12 04:01:13 UTC 2015


On Feb 11, 2015 2:57 PM, "Becker, Mischa J" <mischa.becker at kroger.com>
wrote:
> 3. Enable MQ and strip the 'failed' commits from the repo.  Do this on a
copy of the repo to make sure you don't accidently break anything.

A bit of an aside here.  You don't actually *need* to make a clone to
recover from mistakes when using hg strip. It creates a bundle file each
time it is run and you can hg unbundle that file to get your stripped
commits back.

Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150211/2a41a363/attachment-0002.html>


More information about the Mercurial mailing list