Show More
@@ -515,7 +515,7 b' class chgcmdserver(commandserver.server)' | |||||
515 | if inst.hint: |
|
515 | if inst.hint: | |
516 | self.ui.error(_(b"(%s)\n") % inst.hint) |
|
516 | self.ui.error(_(b"(%s)\n") % inst.hint) | |
517 | errorraised = True |
|
517 | errorraised = True | |
518 |
except error. |
|
518 | except error.Error as inst: | |
519 | if inst.detailed_exit_code is not None: |
|
519 | if inst.detailed_exit_code is not None: | |
520 | detailed_exit_code = inst.detailed_exit_code |
|
520 | detailed_exit_code = inst.detailed_exit_code | |
521 | self.ui.error(inst.format()) |
|
521 | self.ui.error(inst.format()) |
@@ -205,7 +205,7 b' def callcatch(ui, func):' | |||||
205 | detailed_exit_code = 50 |
|
205 | detailed_exit_code = 50 | |
206 | except error.WdirUnsupported: |
|
206 | except error.WdirUnsupported: | |
207 | ui.error(_(b"abort: working directory revision cannot be specified\n")) |
|
207 | ui.error(_(b"abort: working directory revision cannot be specified\n")) | |
208 |
except error. |
|
208 | except error.Error as inst: | |
209 | if inst.detailed_exit_code is not None: |
|
209 | if inst.detailed_exit_code is not None: | |
210 | detailed_exit_code = inst.detailed_exit_code |
|
210 | detailed_exit_code = inst.detailed_exit_code | |
211 | if inst.coarse_exit_code is not None: |
|
211 | if inst.coarse_exit_code is not None: |
General Comments 0
You need to be logged in to leave comments.
Login now