feature request: replicate stripping of revisions

Theodore Tso tytso at mit.edu
Wed Dec 5 20:53:29 UTC 2007


On Wed, Dec 05, 2007 at 10:31:35AM -0600, Matt Mackall wrote:
> This has never been the case. Strip truncates where appropriate, yes,
> but if the revisions to remove are not at the end, the revisions to
> save have always been preserved. Originally this was done by rewriting
> individual revlogs, now it's done with bundle/unbundle.

Really?  I was pretty sure the original strip functionality that came
with mq only did a truncate, since at that time, especially before
named branch support, truncate was all mq really needed.

Good to know that strip has this support; so that means that deleting
a named branch and actually physically getting rid of the commits
wouldn't be that hard to implement, right?

						- Ted



More information about the Mercurial mailing list