mercurial/scmutil.py
changeset 46116 17a695357270
parent 46115 be3d8178251e
child 46242 cb12658bf0e1
equal deleted inserted replaced
46115:be3d8178251e 46116:17a695357270
   211         ui.error(_(b"abort: file censored %s\n") % inst)
   211         ui.error(_(b"abort: file censored %s\n") % inst)
   212     except error.StorageError as inst:
   212     except error.StorageError as inst:
   213         ui.error(_(b"abort: %s\n") % inst)
   213         ui.error(_(b"abort: %s\n") % inst)
   214         if inst.hint:
   214         if inst.hint:
   215             ui.error(_(b"(%s)\n") % inst.hint)
   215             ui.error(_(b"(%s)\n") % inst.hint)
       
   216         detailed_exit_code = 50
   216     except error.InterventionRequired as inst:
   217     except error.InterventionRequired as inst:
   217         ui.error(b"%s\n" % inst)
   218         ui.error(b"%s\n" % inst)
   218         if inst.hint:
   219         if inst.hint:
   219             ui.error(_(b"(%s)\n") % inst.hint)
   220             ui.error(_(b"(%s)\n") % inst.hint)
   220         detailed_exit_code = 240
   221         detailed_exit_code = 240