Mercurial > hg-stable
changeset 22593:ec47d4fde26d
files: only check for removed, not unknown or missing
ctx.matches() doesn't return unknown files, and repo.dirstate[f] never returns
'!' for an answer.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 30 Sep 2014 15:21:35 -0700 |
parents | ff3ccc592af4 |
children | 1257cc6c1a2f |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Sep 30 14:39:58 2014 -0700 +++ b/mercurial/commands.py Tue Sep 30 15:21:35 2014 -0700 @@ -3220,7 +3220,7 @@ m = scmutil.match(ctx, pats, opts) for f in ctx.matches(m): - if rev is None and repo.dirstate[f] in 'r?!': + if rev is None and repo.dirstate[f] == 'r': continue fm.startitem() if ui.verbose: