Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 6145:154f8be6272b
cmdutil.walkchangerevs: use '-1:0' instead ot 'tip:0'
This avoids a possibly expensive tag lookup.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 19 Feb 2008 19:20:10 -0300 |
parents | 989467e8e3a9 |
children | a79d9408806f |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Tue Feb 19 19:20:10 2008 -0300 +++ b/mercurial/cmdutil.py Tue Feb 19 19:20:10 2008 -0300 @@ -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')