Submitter | phabricator |
---|---|
Date | April 10, 2020, 5:02 p.m. |
Message ID | <differential-rev-PHID-DREV-tbtbd2rblgywzmujqakp-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/46058/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -281,7 +281,7 @@ return ancdepths, descdepths -def generationsrel(repo, subset, x, rel, z, order): +def generationssubrel(repo, subset, x, rel, z, order): # TODO: rewrite tests, and drop startdepth argument from ancestors() and # descendants() predicates a, b = getintrange( @@ -2634,8 +2634,8 @@ } subscriptrelations = { - b"g": generationsrel, - b"generations": generationsrel, + b"g": generationssubrel, + b"generations": generationssubrel, }