##// END OF EJS Templates
scmutil: display the optional hint when handling StorageError in catchall()...
Matt Harbison -
r40694:4ec8bee1 default
parent child Browse files
Show More
@@ -212,6 +212,8 b' def callcatch(ui, func):'
212 ui.error(_("abort: file censored %s!\n") % inst)
212 ui.error(_("abort: file censored %s!\n") % inst)
213 except error.StorageError as inst:
213 except error.StorageError as inst:
214 ui.error(_("abort: %s!\n") % inst)
214 ui.error(_("abort: %s!\n") % inst)
215 if inst.hint:
216 ui.error(_("(%s)\n") % inst.hint)
215 except error.InterventionRequired as inst:
217 except error.InterventionRequired as inst:
216 ui.error("%s\n" % inst)
218 ui.error("%s\n" % inst)
217 if inst.hint:
219 if inst.hint:
General Comments 0
You need to be logged in to leave comments. Login now