tests/test-nested-repo
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Thu, 21 Jun 2007 23:42:06 -0300
changeset 4677 de8ec7e1753a
parent 2965 890e285c52a1
child 5141 d316124ebbea
permissions -rwxr-xr-x
dirstate.status: if a file is marked as copied, consider it modified After a "hg copy --force --after somefile cleanfile", cleanfile shouldn't be considered clean anymore.

#!/bin/sh

hg init a
cd a
hg init b
echo x > b/x
echo '# should print nothing'
hg st
echo '# should print ? b/x'
hg st b/x

hg add b/x

echo '# should print A b/x'
hg st
echo '# should forget b/x'
hg revert --all
echo '# should print nothing'
hg st b