Mercurial > public > mercurial-scm > hg-stable
diff tests/test-issue352 @ 4186:08d31e43592a
Leave normalization of patterns to util._matcher
Passing [] to util.cmdmatcher accidentally fixes walking of files
with "\n" in the name.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sat, 10 Mar 2007 23:00:46 -0300 |
parents | f4c9bb4ad7b1 |
children | b90e323a4781 |
line wrap: on
line diff
--- a/tests/test-issue352 Sat Mar 10 23:00:45 2007 -0300 +++ b/tests/test-issue352 Sat Mar 10 23:00:46 2007 -0300 @@ -6,16 +6,17 @@ A=`echo -e -n 'he\rllo'` -echo foo > "hell -o" echo foo > "$A" hg add hg ci -A -m m rm "$A" -ls + +echo foo > "hell +o" hg add -# BUG ? we don't walk on filenames with '\n' (regexp related) ? -hg debugwalk hg ci -A -m m +echo foo > "$A" +hg debugwalk + exit 0