tests/test-commit-copy
author Giorgos Keramidas <keramida@ceid.upatras.gr>
Fri, 23 Feb 2007 17:54:34 +0200
changeset 4137 26596a6b6518
parent 3853 c0b449154a90
permissions -rwxr-xr-x
Create the parent directory when checking out symlinks.

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