tests/test-nested-repo
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 18 Nov 2006 19:44:42 -0200
changeset 3675 6990e499d71a
parent 2965 890e285c52a1
child 5141 d316124ebbea
permissions -rwxr-xr-x
Revert almost all of 5be434785317; add a test Because of file copies, we should update the manifest dict only after committing all files.

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