mercurial/dispatch.py
branchstable
changeset 15497 9bea3aed6ee1
parent 15233 81c97964d123
child 15513 646759147717
equal deleted inserted replaced
15496:396e83d635a6 15497:9bea3aed6ee1
   122             commands.help_(ui, inst.args[0], full=False, command=True)
   122             commands.help_(ui, inst.args[0], full=False, command=True)
   123         else:
   123         else:
   124             ui.warn(_("hg: %s\n") % inst.args[1])
   124             ui.warn(_("hg: %s\n") % inst.args[1])
   125             commands.help_(ui, 'shortlist')
   125             commands.help_(ui, 'shortlist')
   126     except error.OutOfBandError, inst:
   126     except error.OutOfBandError, inst:
   127         ui.warn("abort: remote error:\n")
   127         ui.warn(_("abort: remote error:\n"))
   128         ui.warn(''.join(inst.args))
   128         ui.warn(''.join(inst.args))
   129     except error.RepoError, inst:
   129     except error.RepoError, inst:
   130         ui.warn(_("abort: %s!\n") % inst)
   130         ui.warn(_("abort: %s!\n") % inst)
   131         if inst.hint:
   131         if inst.hint:
   132             ui.warn(_("(%s)\n") % inst.hint)
   132             ui.warn(_("(%s)\n") % inst.hint)