cmdutil: changed revset for spanset
authorLucas Moscovicz <lmoscovicz@fb.com>
Fri, 14 Mar 2014 08:44:52 -0700
changeset 20757 3813a1dd9eb9
parent 20756 e7833e63bb42
child 20758 98d6c7954057
cmdutil: changed revset for spanset Instead of using baseset(repo.changelog) changed it for spanset(repo) which is much faster.
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Fri Mar 14 11:35:17 2014 -0700
+++ b/mercurial/cmdutil.py	Fri Mar 14 08:44:52 2014 -0700
@@ -1646,7 +1646,7 @@
         if follow and len(repo) > 0:
             revs = repo.revs('reverse(:.)')
         else:
-            revs = revset.baseset(repo.changelog)
+            revs = revset.spanset(repo)
             revs.reverse()
     if not revs:
         return [], None, None