tests/test-commit-copy
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 10 Mar 2007 23:00:47 -0300
changeset 4187 01c4ea5e788c
parent 3853 c0b449154a90
permissions -rwxr-xr-x
A 'glob:foo?bar' pattern determines a root - the tree root

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