tests/test-commandserver.t
changeset 30332 318a24b52eeb
parent 30262 bc5d0e6fd9f3
child 30363 a1259e502bdf
equal deleted inserted replaced
30331:b19291e5d506 30332:318a24b52eeb
   815 - test failure with "empty changelog"
   815 - test failure with "empty changelog"
   816 
   816 
   817   $ echo foo > foo
   817   $ echo foo > foo
   818   $ hg add foo
   818   $ hg add foo
   819 
   819 
   820 (failuer before finalization)
   820 (failure before finalization)
   821 
   821 
   822   >>> from hgclient import readchannel, runcommand, check
   822   >>> from hgclient import readchannel, runcommand, check
   823   >>> @check
   823   >>> @check
   824   ... def abort(server):
   824   ... def abort(server):
   825   ...     readchannel(server)
   825   ...     readchannel(server)
   834   abort: pretxncommit hook exited with status 1
   834   abort: pretxncommit hook exited with status 1
   835    [255]
   835    [255]
   836   *** runcommand log
   836   *** runcommand log
   837   *** runcommand verify -q
   837   *** runcommand verify -q
   838 
   838 
   839 (failuer after finalization)
   839 (failure after finalization)
   840 
   840 
   841   >>> from hgclient import readchannel, runcommand, check
   841   >>> from hgclient import readchannel, runcommand, check
   842   >>> @check
   842   >>> @check
   843   ... def abort(server):
   843   ... def abort(server):
   844   ...     readchannel(server)
   844   ...     readchannel(server)