tests/test-nested-repo
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 01 Dec 2006 14:46:05 +0100
changeset 3747 b5c4d749f37f
parent 2965 890e285c52a1
child 5141 d316124ebbea
permissions -rwxr-xr-x
Fix test-notify for systems without or with a different version of diffstat. Some diffstat versions say "1 file changed", others "1 files changed".

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