Mercurial > evolve
view tests/test-states.t @ 108:85271a8a7fb9
Properly inherit phase of relocated changeset.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 19 Dec 2011 12:18:04 +0100 |
parents | a5f6194eb05c |
children |
line wrap: on
line source
$ cat >> $HGRCPATH <<EOF > [web] > push_ssl = false > allow_push = * > [extensions] > EOF $ echo "states=$(echo $(dirname $TESTDIR))/hgext/states.py" >> $HGRCPATH $ hg init local $ hg init other $ cd local $ hg states --traceback -v published $ hg states draft $ hg states published draft $ hg states ready $ hg states published ready draft $ hg states --off draft $ hg states published ready $ hg states babar no state named babar [1] $ echo 'babar' >> .hg/states/Enabled $ hg states published ready $ hg -R ../other states published do nothing if state already deactivated $ hg states --off draft state draft already deactivated $ hg states published ready