view tests/test-revlog-packentry @ 5461:ab4d2e9f3b97

convert: svn -- fix 'exists' Previously 'exists' erroneously returned False for empty dirictories. This is wrong since we want to detect even empty 'branches/' or 'tags/'.
author Kirill Smelkov <kirr@landau.phys.spbu.ru>
date Sat, 13 Oct 2007 15:22:03 +0400
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