mercurial/commands.py
changeset 1229 2eb1cd695dd2
parent 1227 e3ea354d99b2
child 1233 5381b0d88e9e
equal deleted inserted replaced
1228:db950da49539 1229:2eb1cd695dd2
  2056         help_(u, cmd)
  2056         help_(u, cmd)
  2057     except UnknownCommand, inst:
  2057     except UnknownCommand, inst:
  2058         u.warn("hg: unknown command '%s'\n" % inst.args[0])
  2058         u.warn("hg: unknown command '%s'\n" % inst.args[0])
  2059         help_(u, 'shortlist')
  2059         help_(u, 'shortlist')
  2060     except SystemExit:
  2060     except SystemExit:
  2061         # don't catch this is the catch-all below
  2061         # don't catch this in the catch-all below
  2062         raise
  2062         raise
  2063     except:
  2063     except:
  2064         u.warn("** unknown exception encountered, details follow\n")
  2064         u.warn("** unknown exception encountered, details follow\n")
  2065         u.warn("** report bug details to mercurial@selenic.com\n")
  2065         u.warn("** report bug details to mercurial@selenic.com\n")
  2066         raise
  2066         raise