tests/test-issue352
author Giorgos Keramidas <keramida@ceid.upatras.gr>
Sat, 30 Dec 2006 21:33:45 +0200
changeset 4292 b90e323a4781
parent 4186 08d31e43592a
child 5075 2184378b20b5
permissions -rwxr-xr-x
Use printf(1) instead of using bash-specific shell code. Submitted by: Benoit Boissinot <bboissin@gmail.com>

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