cmdutil: changed revset for spanset

Instead of using baseset(repo.changelog) changed it for spanset(repo) which is
much faster.
This commit is contained in:
Lucas Moscovicz 2014-03-14 08:44:52 -07:00
parent 3972cf7390
commit a96218c725

View File

@ -1646,7 +1646,7 @@ def getgraphlogrevs(repo, pats, opts):
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