equal
deleted
inserted
replaced
203 if inst.hint: |
203 if inst.hint: |
204 ui.error(_(b"(%s)\n") % inst.hint) |
204 ui.error(_(b"(%s)\n") % inst.hint) |
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.Abort as inst: |
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: |
212 coarse_exit_code = inst.coarse_exit_code |
212 coarse_exit_code = inst.coarse_exit_code |
213 ui.error(inst.format()) |
213 ui.error(inst.format()) |