tests/test-commit-copy
author Brendan Cully <brendan@kublai.com>
Tue, 10 Jul 2007 10:06:24 -0700
changeset 4853 6dc0094c0827
parent 3853 c0b449154a90
permissions -rwxr-xr-x
archive: abort on empty repository. Fixes #624.

#!/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/store/data/bar.i