tests/test-commit-copy
author Thomas Arendsen Hein <thomas@intevation.de>
Sat, 23 Jun 2007 20:21:10 +0200
changeset 4684 849f011dbf79
parent 3853 c0b449154a90
permissions -rwxr-xr-x
Remember path to 'hg' executable and pass to external tools and hooks as $HG.

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