diff mercurial/commands.py @ 22591:9fe33afc00b4

files: actually filter out removed files 'hg files' makes an attempt to filter out removed files, but that doesn't work because repo.dirstate[f] returns lowercase 'r', not uppercase.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 30 Sep 2014 15:45:48 -0700
parents c3c3dd31fe1c
children ff3ccc592af4
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Oct 01 01:08:17 2014 +0200
+++ b/mercurial/commands.py	Tue Sep 30 15:45:48 2014 -0700
@@ -3220,7 +3220,7 @@
 
     m = scmutil.match(ctx, pats, opts)
     for f in ctx.walk(m):
-        if rev is None and repo.dirstate[f] in 'R?!':
+        if rev is None and repo.dirstate[f] in 'r?!':
             continue
         fm.startitem()
         if ui.verbose: