getgraphlogrevs: do not convert smartset to baseset
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 14 Mar 2014 16:26:50 -0700
changeset 20758 98d6c7954057
parent 20757 3813a1dd9eb9
child 20759 74139960c302
getgraphlogrevs: do not convert smartset to baseset We are now sure that revs is a smartset. We remove the baseset call that would defeat any lazyness.
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Fri Mar 14 08:44:52 2014 -0700
+++ b/mercurial/cmdutil.py	Fri Mar 14 16:26:50 2014 -0700
@@ -1650,7 +1650,6 @@
             revs.reverse()
     if not revs:
         return [], None, None
-    revs = revset.baseset(revs)
     expr, filematcher = _makegraphlogrevset(repo, pats, opts, revs)
     if possiblyunsorted:
         revs.sort(reverse=True)