tests/test-commit-copy
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 13 Jun 2007 21:39:45 -0300
changeset 4577 e7d4ed543de5
parent 3853 c0b449154a90
permissions -rwxr-xr-x
localrepo.status: only append stuff to the clean list if list_clean is true This is consistent with dirstate.status.

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