Skip to content
Snippets Groups Projects
Commit 154f8be6 authored by Alexis S. L. Carvalho's avatar Alexis S. L. Carvalho
Browse files

cmdutil.walkchangerevs: use '-1:0' instead ot 'tip:0'

This avoids a possibly expensive tag lookup.
parent 08e0825b
No related branches found
No related tags found
No related merge requests found
......@@ -967,7 +967,7 @@
if follow:
defrange = '%s:0' % repo.changectx().rev()
else:
defrange = 'tip:0'
defrange = '-1:0'
revs = revrange(repo, opts['rev'] or [defrange])
wanted = {}
slowpath = anypats or opts.get('removed')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment