diff tests/test-commandserver.py.out @ 20631:5d4606bec54c

cmdserver: mask return code of runcommand in the same way as dispatch.run "hg help" does not state that the code for abort is 255, but it's confusing to have different code between hg command and command server. Tests of python-hglib 1.2 passed with this change.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 03 Mar 2014 15:50:51 +0900
parents 0b04ee8e789d
children 9524938c8ff8
line wrap: on
line diff
--- a/tests/test-commandserver.py.out	Mon Mar 03 15:50:48 2014 +0900
+++ b/tests/test-commandserver.py.out	Mon Mar 03 15:50:51 2014 +0900
@@ -43,6 +43,9 @@
 000000000000
  runcommand id
 000000000000 tip
+ runcommand id -runknown
+abort: unknown revision 'unknown'!
+ [255]
 
 testing inputeof: