tests/test-revlog-packentry
author Matt Mackall <mpm@selenic.com>
Thu, 27 Sep 2007 23:59:02 -0500
changeset 5365 458acf92b49e
parent 5338 f87685355c9c
permissions -rwxr-xr-x
bdiff: use INT_MAX to avoid some inner loop comparisons

#!/bin/sh

hg init repo
cd repo

touch foo
hg ci -Am 'add foo'

hg up -C null
# this should be stored as a delta against rev 0
echo foo bar baz > foo
hg ci -Am 'add foo again'

hg debugindex .hg/store/data/foo.i