view tests/test-revlog-packentry @ 9092:9aebeea7ac00

subrepo: use hg.repository instead of creating localrepo directly this way, extensions' reposetup will be called, which allows for git subrepos to be handled by hg-git (and I believe the same goes for svn and hgsubversion)
author Abderrahim Kitouni <a.kitouni@gmail.com>
date Sat, 04 Jul 2009 14:18:15 +0100
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