HomePhabricator

revset: implement a simple 'foo#generations' expression

Authored by av6.

Description

revset: implement a simple 'foo#generations' expression

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.

Differential Revision: https://phab.mercurial-scm.org/D8394

Details

Committed
av6Apr 10 2020, 10:23 AM
Differential Revision
D8394: revset: implement a simple 'foo#generations' expression
Parents
rHG8859de3e83dc: revset: rename generationsrel() to generationssubrel()
Branches
Unknown
Tags
Unknown