tests/test-commit-copy
author Thomas Arendsen Hein <thomas@intevation.de>
Tue, 03 Jul 2007 12:45:33 +0200
changeset 4781 62c56d8f368b
parent 3853 c0b449154a90
permissions -rwxr-xr-x
Fix revlog.children so the real children of the null revision can be calculated.

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