[PATCH] strip: factor out revset calculation for strip -B

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Oct 9 18:30:03 CDT 2015



On 10/09/2015 04:20 PM, Ryan McElroy wrote:
> # HG changeset patch
> # User Ryan McElroy <rmcelroy at fb.com>
> # Date 1444427339 25200
> #      Fri Oct 09 14:48:59 2015 -0700
> # Node ID 34e4ead82b70ffeb4458ae38aa3ad749026378c3
> # Parent  b80b2ee71a08d00ec4008f3131bdf3c72e4ec2ba
> strip: factor out revset calculation for strip -B
>
> This will allow reusing it in evolve and overriding it in other extensions.

Patch seems fine, but retrieving it from another extension could be 
challenging, I recommend either moving that in mercurial.repair.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list