equal
deleted
inserted
replaced
2001 u.warn("%s: invalid arguments\n" % cmd) |
2001 u.warn("%s: invalid arguments\n" % cmd) |
2002 help_(u, cmd) |
2002 help_(u, cmd) |
2003 except UnknownCommand, inst: |
2003 except UnknownCommand, inst: |
2004 u.warn("hg: unknown command '%s'\n" % inst.args[0]) |
2004 u.warn("hg: unknown command '%s'\n" % inst.args[0]) |
2005 help_(u, 'shortlist') |
2005 help_(u, 'shortlist') |
|
2006 except SystemExit: |
|
2007 # don't catch this is the catch-all below |
|
2008 raise |
|
2009 except: |
|
2010 u.warn("** unknown exception encountered, details follow\n") |
|
2011 u.warn("** report bug details to mercurial@selenic.com\n") |
|
2012 raise |
2006 |
2013 |
2007 sys.exit(-1) |
2014 sys.exit(-1) |