[PATCH 7 of 7] strip: strip obsmarkers exclusive to the stripped changeset

Sean Farley sean at farley.io
Thu Jun 1 16:21:14 EDT 2017


Pierre-Yves David <pierre-yves.david at ens-lyon.org> writes:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at octobus.net>
> # Date 1495289999 -7200
> #      Sat May 20 16:19:59 2017 +0200
> # Node ID fb16a4d85cf46afbc12bb61f8d22784cef31d1dc
> # Parent  2c44bd45fdeeb3a8bf1762af4a81af3914fadc29
> # EXP-Topic obsstrip
> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r fb16a4d85cf4
> strip: strip obsmarkers exclusive to the stripped changeset
>
> This is it, `hg strip --rev X` will now also remove obsolescence markers
> exclusive to X. Since a previous changeset, the obsmarkers has been backed up
> in the strip backup bundle, so it is possible to restore them.
>
> Note: stripping obsmarkers means the precursors of the stripped changeset might no
> longer be obsolete after the strip.
>
> Stripping changeset without obsmarkers can be useful when building test case. So
> It is possible to disable the stripping of obsmarkers using the
> 'devel.strip-obsmarkers' config option.
>
> Test change have been carefully validated.

Gleefully queued! I've read and re-read this series a few times but I
will test it out a bit locally just to make sure I understand and will
push after that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170601/f4146422/attachment.sig>


More information about the Mercurial-devel mailing list