view tests/test-nested-repo @ 5199:94e77a174f55

Quote ^ and ~ chars in test-parentrevspec. At least ^ causes problems on some sh implementations.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 18 Aug 2007 20:21:14 +0200
parents d316124ebbea
children c7e8fe11f34a
line wrap: on
line source

#!/bin/sh

hg init a
cd a
hg init b
echo x > b/x

echo '# should print nothing'
hg add b
hg st

echo '# should fail'
hg st b/x
hg add b/x

echo '# should arguably print nothing'
hg st b

echo a > a
hg ci -Ama a

echo '# should fail'
hg mv a b
hg st