tests/test-issue352
author Matt Mackall <mpm@selenic.com>
Thu, 27 Dec 2007 23:55:39 -0600
changeset 5727 1325ebc29e29
parent 5075 2184378b20b5
child 8936 1de6e7e1bb9f
permissions -rwxr-xr-x
bisect: use array.array rather than lists for ancestor lists This nearly doubles performance and cuts memory usage in half on large bisections.

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