changeset 22487:e40bb83d0989

revset: stop using a baseset instead of a plain list in _revsbetween The function internal code needs a list. Lets use a list.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 16 Sep 2014 22:55:49 -0700
parents f166e08ece3b
children 6c52ed3f888e
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Fri Sep 19 07:23:10 2014 +0530
+++ b/mercurial/revset.py	Tue Sep 16 22:55:49 2014 -0700
@@ -78,7 +78,7 @@
     if not roots:
         return baseset([])
     parentrevs = repo.changelog.parentrevs
-    visit = baseset(heads)
+    visit = list(heads)
     reachable = set()
     seen = {}
     minroot = min(roots)