diff --git a/tests/test-commit-copy b/tests/test-commit-copy new file mode 100755 --- /dev/null +++ b/tests/test-commit-copy @@ -0,0 +1,14 @@ +#!/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/data/bar.i