Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 4308:a5cde03cd019
locate: don't print "file not found" messages.
This should fix issue204.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Wed, 04 Apr 2007 04:22:06 -0300 |
parents | e14b6980a014 |
children | d4f0405fadac |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Apr 04 04:22:06 2007 -0300 +++ b/mercurial/commands.py Wed Apr 04 04:22:06 2007 -0300 @@ -1624,7 +1624,10 @@ ret = 1 for src, abs, rel, exact in cmdutil.walk(repo, pats, opts, node=node, + badmatch=util.always, default='relglob'): + if src == 'b': + continue if not node and repo.dirstate.state(abs) == '?': continue if opts['fullpath']: