tests/test-issue352
author Matt Mackall <mpm@selenic.com>
Thu, 07 May 2009 19:39:45 -0500
changeset 8314 57a41c08feab
parent 5075 2184378b20b5
child 8936 1de6e7e1bb9f
permissions -rwxr-xr-x
revlog: preread revlog .i file Smaller revlogs can be read with a single read, do it on open.

#!/bin/sh
# http://www.selenic.com/mercurial/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