revset: stop using a baseset instead of a plain list in _revsbetween
authorPierre-Yves David <pierre-yves.david@fb.com>
Tue, 16 Sep 2014 22:55:49 -0700
changeset 22487 e40bb83d0989
parent 22486 f166e08ece3b
child 22488 6c52ed3f888e
revset: stop using a baseset instead of a plain list in _revsbetween The function internal code needs a list. Lets use a list.
mercurial/revset.py
--- 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)