sapling/tests/test-issue352
Giorgos Keramidas d80dabf492 Use printf(1) instead of using bash-specific shell code.
Submitted by:  Benoit Boissinot <bboissin@gmail.com>
2006-12-30 21:33:45 +02:00

23 lines
226 B
Bash
Executable File

#!/bin/sh
# http://www.selenic.com/mercurial/bts/issue352
hg init foo
cd foo
A=`printf '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