[PATCH 3 of 5 evolve-ext] prune: add --descendants for pruning entire subtrees

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Mar 20 13:33:41 CDT 2015



On 03/19/2015 06:36 PM, Durham Goode wrote:
>
>
> On 3/19/15 6:32 PM, Matt Harbison wrote:
>> On Thu, 19 Mar 2015 21:14:28 -0400, Durham Goode <durham at fb.com> wrote:
>>
>>> # HG changeset patch
>>> # User Durham Goode <durham at fb.com>
>>> # Date 1426787637 25200
>>> #      Thu Mar 19 10:53:57 2015 -0700
>>> # Node ID 0a4343392b3358584bd16e7b7f15e9c2264c9c8b
>>> # Parent  22e9be40a47d397339c4d5a5ea7c82131d72d889
>>> prune: add --descendants for pruning entire subtrees
>>
>> Doesn't '-r rev::' do the same thing?  I don't have a subtree I want
>> to prune handy, but based on passing the same revset to log, it prints
>> what I would expect --descendants would operate on.
>>
>> --Matt
> Yea, it does but we're in the process of making the evolve UI easier for
> users to pick up, and making it able to act like strip without having to
> know the revset syntax is useful.  I don't expect the prune UI to remain
> fixed, so we can come back here and clean up as we get more feedback.

While I agree that the current prune UI is not very good I'm definitely 
not thrilled about this --descendants options. Since it is actually easy 
to do without it I'm dropping the idea for now.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list