view tests/test-commit-copy @ 3713:8ae88ed2a3b6

don't create the .hg/data at init time
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 27 Nov 2006 22:22:44 +0100
parents 6990e499d71a
children c0b449154a90
line wrap: on
line source

#!/bin/sh

hg init dir
cd dir
echo bleh > bar
hg add bar
hg ci -m 'add bar'

hg cp bar foo
echo >> bar
hg ci -m 'cp bar foo; change bar'

hg debugrename foo
hg debugindex .hg/data/bar.i