# HG changeset patch # User Pierre-Yves David # Date 2014-10-03 17:53:41 # Node ID 13e179dca666dc78c745195815163b316f03855e # Parent 6a8c55d73c669a97f61cbc6919652800beaebcdd revset: use _generatorset in _revancestors The _descgeneratorset class is going away. diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -46,7 +46,7 @@ def _revancestors(repo, revs, followfirs 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."""