view tests/test-nested-repo @ 2259:181b0643ffb1

fix a traceback when unbundling does not add any changesets only run the hooks when some changesets has been added
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 11 May 2006 15:01:30 +0200
parents 3335564f2518
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
echo '# should print nothing'
hg st b