comparison tests/test-commit-copy @ 3675:6990e499d71a

Revert almost all of 5be434785317; add a test Because of file copies, we should update the manifest dict only after committing all files.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 18 Nov 2006 19:44:42 -0200
parents
children c0b449154a90
comparison
equal deleted inserted replaced
3674:9103dab96093 3675:6990e499d71a
1 #!/bin/sh
2
3 hg init dir
4 cd dir
5 echo bleh > bar
6 hg add bar
7 hg ci -m 'add bar'
8
9 hg cp bar foo
10 echo >> bar
11 hg ci -m 'cp bar foo; change bar'
12
13 hg debugrename foo
14 hg debugindex .hg/data/bar.i