tests/test-issue352
author Steve Borho <steve@borho.org>
Mon, 14 Sep 2009 19:53:43 -0500
changeset 9448 bc6b0fef9495
parent 8936 1de6e7e1bb9f
permissions -rwxr-xr-x
windows: provide filename in IOError exceptions This brings the Windows posixfile errors in line with the errors on other platforms.

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