Page MenuHomePhabricator

revset: implement a simple 'foo#generations' expression

Authored by av6 on Apr 10 2020, 1:02 PM.



The result of this expression is equivalent to 'foo#g[:]': all reachable
ancestors and descendants of a revset foo.

While not very useful functionality on its own, its implementation can be
tested and revset.relations dict can be easily used by extensions to add other
non-subscript relations.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

av6 created this revision.Apr 10 2020, 1:02 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.