changeset 20757:3813a1dd9eb9

cmdutil: changed revset for spanset Instead of using baseset(repo.changelog) changed it for spanset(repo) which is much faster.
author Lucas Moscovicz <lmoscovicz@fb.com>
date Fri, 14 Mar 2014 08:44:52 -0700
parents e7833e63bb42
children 98d6c7954057
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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