view tests/test-state.t @ 0:bbeef801409c

minimalistic state concept.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Fri, 20 May 2011 16:16:34 +0200
parents
children beabde937e36
line wrap: on
line source

  $ cat >> $HGRCPATH <<EOF
  > [extensions]
  > EOF
  $ echo "states=$(echo $(dirname $TESTDIR))/states.py" >> $HGRCPATH

  $ hg init repo
  $ cd repo
  $ echo "celestine" > babar
  $ hg add babar
  $ hg ci -m "add babar"
  $ hg log --template='{node}: {state}\n'
  5caa672bac265926428463f2bee6e8903972ce31: 0