tests/test-commandserver.t
branchstable
changeset 48796 c00d3ce4e94b
parent 48681 e845537f6adb
child 48879 9987d14ad63f
equal deleted inserted replaced
48776:b84ff512b645 48796:c00d3ce4e94b
   157   ...     readchannel(server)
   157   ...     readchannel(server)
   158   ...     runcommand(server, [b'log', b'-b', b'--config=alias.log=!echo pwned',
   158   ...     runcommand(server, [b'log', b'-b', b'--config=alias.log=!echo pwned',
   159   ...                         b'default'])
   159   ...                         b'default'])
   160   *** runcommand log -b --config=alias.log=!echo pwned default
   160   *** runcommand log -b --config=alias.log=!echo pwned default
   161   abort: unknown revision '--config=alias.log=!echo pwned'
   161   abort: unknown revision '--config=alias.log=!echo pwned'
   162    [255]
   162    [10]
   163 
   163 
   164 check that "histedit --commands=-" can read rules from the input channel:
   164 check that "histedit --commands=-" can read rules from the input channel:
   165 
   165 
   166   >>> from hgclient import check, readchannel, runcommand, stringio
   166   >>> from hgclient import check, readchannel, runcommand, stringio
   167   >>> @check
   167   >>> @check