sapling/tests/test-commit-copy
Alexis S. L. Carvalho 858dee209b Revert almost all of 0ab603017f82; add a test
Because of file copies, we should update the manifest dict only after
committing all files.
2006-11-18 19:44:42 -02:00

15 lines
186 B
Bash
Executable File

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