tests/test-commit-copy
author Patrick Mezard <pmezard@gmail.com>
Fri, 28 Dec 2007 14:51:16 +0100
changeset 5754 75c2071385da
parent 3853 c0b449154a90
permissions -rwxr-xr-x
Prompt for a commit message in editor, improve error message

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