tests/test-commandserver.t
branchstable
changeset 23053 5ba11ab48fcf
parent 23036 19f5273c9f3e
child 23095 ac827031fe05
equal deleted inserted replaced
23052:c1ae0b2c1719 23053:5ba11ab48fcf
     2   $ PYTHONPATH="$TESTDIR/../contrib;$PYTHONPATH"
     2   $ PYTHONPATH="$TESTDIR/../contrib;$PYTHONPATH"
     3 #else
     3 #else
     4   $ PYTHONPATH="$TESTDIR/../contrib:$PYTHONPATH"
     4   $ PYTHONPATH="$TESTDIR/../contrib:$PYTHONPATH"
     5 #endif
     5 #endif
     6   $ export PYTHONPATH
     6   $ export PYTHONPATH
       
     7 
       
     8 typical client does not want echo-back messages, so test without it:
       
     9 
       
    10   $ grep -v '^promptecho ' < $HGRCPATH >> $HGRCPATH.new
       
    11   $ mv $HGRCPATH.new $HGRCPATH
     7 
    12 
     8   $ hg init repo
    13   $ hg init repo
     9   $ cd repo
    14   $ cd repo
    10 
    15 
    11   >>> from hgclient import readchannel, runcommand, check
    16   >>> from hgclient import readchannel, runcommand, check