view tests/test-nested-repo @ 3461:ad4b5ef8a051

Build git trees in a recursive manner - not just one flat tree per repo
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sat, 21 Oct 2006 16:19:11 -0400
parents 890e285c52a1
children
line wrap: on
line source

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