tests/test-nested-repo
author Thomas Arendsen Hein <thomas@intevation.de>
Wed, 17 May 2006 19:38:41 +0200
changeset 2301 7c2623aedeb4
parent 2136 3335564f2518
child 2982 890e285c52a1
permissions -rwxr-xr-x
Strip empty lines and trailing spaces around commit messages. Fixes issue213 and part of issue249 (trying to keep node id on import)

#!/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
echo '# should print nothing'
hg st b