mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
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:
parent
3972cf7390
commit
a96218c725
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user