sapling/tests/test-issue352
Alexis S. L. Carvalho c576480d83 Leave normalization of patterns to util._matcher
Passing [] to util.cmdmatcher accidentally fixes walking of files
with "\n" in the name.
2007-03-10 23:00:46 -03:00

23 lines
232 B
Bash
Executable File

#!/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