Mercurial > public > mercurial-scm > hg
diff mercurial/cmdutil.py @ 18340:8802277c40ee
log: make log work even if first parameter doesn't exist
A slowpath optimization kicked in too often because of wrong indentation.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 15 Jan 2013 01:05:12 +0100 |
parents | 5bb610f87d1d |
children | 6252b4f1c4b4 |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Tue Jan 15 01:05:12 2013 +0100 +++ b/mercurial/cmdutil.py Tue Jan 15 01:05:12 2013 +0100 @@ -1137,8 +1137,8 @@ for path in match.files(): if path == '.' or path in repo.store: break - else: - return [] + else: + return [] if slowpath: # We have to read the changelog to match filenames against