##// END OF EJS Templates
files: actually filter out removed files...
Siddharth Agarwal -
r22591:9fe33afc 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.walk(m):
3222 for f in ctx.walk(m):
3223 if rev is None and repo.dirstate[f] in 'R?!':
3223 if rev is None and repo.dirstate[f] in 'r?!':
3224 continue
3224 continue
3225 fm.startitem()
3225 fm.startitem()
3226 if ui.verbose:
3226 if ui.verbose:
@@ -87,6 +87,8 b' Issue294: hg remove --after dir fails wh'
87 $ cd ..
87 $ cd ..
88 $ rm -r t
88 $ rm -r t
89
89
90 $ hg rm t/b
91
90 $ hg locate 't/**'
92 $ hg locate 't/**'
91 t/b (glob)
93 t/b (glob)
92 t/e.h (glob)
94 t/e.h (glob)
@@ -96,7 +98,6 b' Issue294: hg remove --after dir fails wh'
96 b
98 b
97 dir.h/foo
99 dir.h/foo
98 t.h
100 t.h
99 t/b
100 t/e.h
101 t/e.h
101 t/x
102 t/x
102 $ hg files b
103 $ hg files b
@@ -132,7 +133,6 b' Issue294: hg remove --after dir fails wh'
132 ../b
133 ../b
133 ../dir.h/foo
134 ../dir.h/foo
134 ../t.h
135 ../t.h
135 ../t/b
136 ../t/e.h
136 ../t/e.h
137 ../t/x
137 ../t/x
138 $ hg files .
138 $ hg files .
General Comments 0
You need to be logged in to leave comments. Login now