mercurial/dispatch.py
changeset 22595 244478687edd
parent 22378 c828b61e0635
child 23270 41c03b7592ed
equal deleted inserted replaced
22594:1257cc6c1a2f 22595:244478687edd
   191             ui.warn(" %r\n" % (inst.args[1],))
   191             ui.warn(" %r\n" % (inst.args[1],))
   192         elif not inst.args[1]:
   192         elif not inst.args[1]:
   193             ui.warn(_(" empty string\n"))
   193             ui.warn(_(" empty string\n"))
   194         else:
   194         else:
   195             ui.warn("\n%r\n" % util.ellipsis(inst.args[1]))
   195             ui.warn("\n%r\n" % util.ellipsis(inst.args[1]))
       
   196     except error.CensoredNodeError, inst:
       
   197         ui.warn(_("abort: file censored %s!\n") % inst)
   196     except error.RevlogError, inst:
   198     except error.RevlogError, inst:
   197         ui.warn(_("abort: %s!\n") % inst)
   199         ui.warn(_("abort: %s!\n") % inst)
   198     except error.SignalInterrupt:
   200     except error.SignalInterrupt:
   199         ui.warn(_("killed!\n"))
   201         ui.warn(_("killed!\n"))
   200     except error.UnknownCommand, inst:
   202     except error.UnknownCommand, inst: