diff -r aadefcee1f5e -r 8802277c40ee mercurial/cmdutil.py --- 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