[PATCH 2 of 2] histedit: mark temporary commits as obsolete when allowed to

Sean Farley sean at farley.io
Fri Jul 17 12:50:34 CDT 2015


Laurent Charignon <lcharignon at fb.com> writes:

> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1437070335 25200
> #      Thu Jul 16 11:12:15 2015 -0700
> # Node ID 5abd5484d70ce0164b606803f181240a498c8bb4
> # Parent  58cb628ade7b1b89f9b91aded2aa0aff0ec49ed6
> histedit: mark temporary commits as obsolete when allowed to
>
> Before this patch, we were stripping temporary commits at the end of a histedit
> whether it was successful or not. If we can create obs markers, we should
> create them instead of stripping because it is faster and safer.

The code in both these patches look good to me but it's a little
unfortunate that so many tests have to change. I think that's
unavoidable in this case, so I'll give the series a +1.


More information about the Mercurial-devel mailing list