comparison tests/test-issue352 @ 4181: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
comparison
equal deleted inserted replaced
4180:51ee2868a571 4181:08d31e43592a
4 hg init foo 4 hg init foo
5 cd foo 5 cd foo
6 6
7 A=`echo -e -n 'he\rllo'` 7 A=`echo -e -n 'he\rllo'`
8 8
9 echo foo > "hell
10 o"
11 echo foo > "$A" 9 echo foo > "$A"
12 hg add 10 hg add
13 hg ci -A -m m 11 hg ci -A -m m
14 rm "$A" 12 rm "$A"
15 ls 13
14 echo foo > "hell
15 o"
16 hg add 16 hg add
17 # BUG ? we don't walk on filenames with '\n' (regexp related) ?
18 hg debugwalk
19 hg ci -A -m m 17 hg ci -A -m m
20 18
19 echo foo > "$A"
20 hg debugwalk
21
21 exit 0 22 exit 0