diff -r b372166d460d -r c9da15600775 tests/test-states.t --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-states.t Fri Jul 01 17:20:45 2011 +0200 @@ -0,0 +1,31 @@ + + $ cat >> $HGRCPATH < [web] + > push_ssl = false + > allow_push = * + > [extensions] + > EOF + $ echo "states=$(echo $(dirname $TESTDIR))/states.py" >> $HGRCPATH + + $ hg init local + $ hg init other + $ cd local + $ hg states --traceback -v + $ hg states draft + $ hg states + draft + $ hg states ready + $ hg states + ready + draft + $ hg states --off draft + $ hg states + ready + $ hg states babar + no state named babar + [1] + $ echo 'babar' >> .hg/states/Enabled + $ hg states + ready + $ hg -R ../other states +