[PATCH 2 of 3 RFC] obsolete: allow passing a revision to successorssets()

Augie Fackler lists at durin42.com
Thu Aug 15 20:16:14 CDT 2013


On Aug 15, 2013, at 8:48 PM, Pierre-Yves David <pierre-yves.david at ens-lyon.org> wrote:

> 
> On 16 août 2013, at 02:39, Augie Fackler wrote:
> 
>> On Thu, Aug 15, 2013 at 7:50 PM, Pierre-Yves David
>> <pierre-yves.david at ens-lyon.org> wrote:
>>> 
>>> On 8 août 2013, at 09:48, Dan Villiom Podlaski Christiansen wrote:
>>> 
>>>> # HG changeset patch
>>>> # User Dan Villiom Podlaski Christiansen  <danchr at gmail.com>
>>>> # Date 1375616619 -7200
>>>> #      Sun Aug 04 13:43:39 2013 +0200
>>>> # Node ID b1f7ae28c3e371a70ee363a4fbe5d50063a224fc
>>>> # Parent  02c24ad6f4d2d954da11d128280978e25aaa48fd
>>>> obsolete: allow passing a revision to successorssets()
>>> 
>>> Why do you need this.
>> 
>> 
>> Because with troubled divergent changes, there's _no other way_ to
>> figure out what the divergence is.
> 
> Knowing the successors set if a useful feature. but why do you need this very internal function to takes revision?

Huh, okay. Marmoute convinced me I'm just insane. Dropping this for now.

> 
>> I lost 30 minutes screwing around in a REPL to figure this out once, and this revset would have been a godsend.
> 
> (note: Until then you can use the debugsuccessorsset command)
> 
> revset ? successorsset return a list of tuple. how do you plan to use that usefully in a revset ?
> 
> if evolve doesn't already provide a revset for all successors, that a shame a can be quickly fixed.
> 
> -- 
> Pierre-Yves



More information about the Mercurial-devel mailing list