tests/test-issue352
author Alejandro Santos <alejolp@alejolp.com>
Sun, 05 Jul 2009 11:05:31 +0200
changeset 9035 8e34f363dd77
parent 8936 1de6e7e1bb9f
permissions -rwxr-xr-x
compat: don't reference an exception var inside a lambda

#!/bin/sh
# http://mercurial.selenic.com/bts/issue352

"$TESTDIR/hghave" eol-in-paths || exit 80

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