##// END OF EJS Templates
Leave normalization of patterns to util._matcher...
Leave normalization of patterns to util._matcher Passing [] to util.cmdmatcher accidentally fixes walking of files with "\n" in the name.

File last commit:

r4186:08d31e43 default
r4186:08d31e43 default
Show More
test-issue352
22 lines | 232 B | text/plain | TextLexer
#!/bin/bash
# http://www.selenic.com/mercurial/bts/issue352
hg init foo
cd foo
A=`echo -e -n 'he\rllo'`
echo foo > "$A"
hg add
hg ci -A -m m
rm "$A"
echo foo > "hell
o"
hg add
hg ci -A -m m
echo foo > "$A"
hg debugwalk
exit 0