##// END OF EJS Templates
files: only check for removed, not unknown or missing...
Siddharth Agarwal -
r22593:ec47d4fd default
parent child Browse files
Show More
@@ -3220,7 +3220,7 b' def files(ui, repo, *pats, **opts):'
3220
3220
3221 m = scmutil.match(ctx, pats, opts)
3221 m = scmutil.match(ctx, pats, opts)
3222 for f in ctx.matches(m):
3222 for f in ctx.matches(m):
3223 if rev is None and repo.dirstate[f] in 'r?!':
3223 if rev is None and repo.dirstate[f] == 'r':
3224 continue
3224 continue
3225 fm.startitem()
3225 fm.startitem()
3226 if ui.verbose:
3226 if ui.verbose:
General Comments 0
You need to be logged in to leave comments. Login now