tests/test-nested-repo
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Thu, 12 Oct 2006 14:04:11 -0300
changeset 3369 4bad632913d8
parent 2965 890e285c52a1
child 5141 d316124ebbea
permissions -rwxr-xr-x
python2.5 PyArg_ParseTuple fix Python 2.5 doesn't like it when we mix str objects and the "t#" format in PyArg_ParseTuple. Change it to use "s#". Tested with python 2.3, 2.4 and 2.5.

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