Mercurial > hg-stable
changeset 22760:13e179dca666
revset: use _generatorset in _revancestors
The _descgeneratorset class is going away.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 03 Oct 2014 12:53:41 -0500 |
parents | 6a8c55d73c66 |
children | d3068f7056cd |
files | mercurial/revset.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Fri Oct 03 12:52:49 2014 -0500 +++ b/mercurial/revset.py Fri Oct 03 12:53:41 2014 -0500 @@ -46,7 +46,7 @@ if parent != node.nullrev: heapq.heappush(h, -parent) - return _descgeneratorset(iterate()) + return _generatorset(iterate(), iterasc=False) def _revdescendants(repo, revs, followfirst): """Like revlog.descendants() but supports followfirst."""