[PATCH 2 of 2 evolve-ext] evolve: add the next() revset

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Jun 5 01:45:00 CDT 2015

On 06/04/2015 05:06 PM, Laurent Charignon wrote:
> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1433461833 25200
> #      Thu Jun 04 16:50:33 2015 -0700
> # Node ID 5367886c7c250c623b4dd9e2ae57f915c63bf4f3
> # Parent  6910cd198dd7824af651d72b224cf66966f59788
> evolve: add the next() revset
> The next() revset encompasses all the revisions that will be stabilized on '.'.
> If a set is given to the next revset, it means all the revisions that will
> be stabilized on that set.

My vision for a 'next()' revset would be "return the one target of `hg 
next`, and its behavior regarding "next requires to evolve something" is 
unclear to me. (we also want to similar revset for update and merge/rebase)

As the core goal here is to be able to get `hg evolve --all` to only 
works on a stack relevant to '.' I will suggest skipping the name 
bike-shedding and implement a private revsets: _locallyrelevanttroubles 
(but probably with a better name)

I'll review the code tomorrow.

Pierre-Yves David

More information about the Mercurial-devel mailing list