view tests/test-revlog-packentry @ 6441:c9b8f2820bc0

rollback: unlink files truncated to length 0
author Brendan Cully <brendan@kublai.com>
date Mon, 31 Mar 2008 23:02:25 -0700
parents f87685355c9c
children
line wrap: on
line source

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