Show More
@@ -41,7 +41,7 b' try:' | |||
|
41 | 41 | cmdargv = shlex.split(orig_cmd) |
|
42 | 42 | except ValueError, e: |
|
43 | 43 | sys.stderr.write('Illegal command "%s": %s\n' % (orig_cmd, e)) |
|
44 |
sys.exit( |
|
|
44 | sys.exit(255) | |
|
45 | 45 | |
|
46 | 46 | if cmdargv[:2] == ['hg', '-R'] and cmdargv[3:] == ['serve', '--stdio']: |
|
47 | 47 | path = cmdargv[2] |
@@ -50,8 +50,8 b" if cmdargv[:2] == ['hg', '-R'] and cmdar" | |||
|
50 | 50 | dispatch.dispatch(dispatch.request(['-R', repo, 'serve', '--stdio'])) |
|
51 | 51 | else: |
|
52 | 52 | sys.stderr.write('Illegal repository "%s"\n' % repo) |
|
53 |
sys.exit( |
|
|
53 | sys.exit(255) | |
|
54 | 54 | else: |
|
55 | 55 | sys.stderr.write('Illegal command "%s"\n' % orig_cmd) |
|
56 |
sys.exit( |
|
|
56 | sys.exit(255) | |
|
57 | 57 |
General Comments 0
You need to be logged in to leave comments.
Login now