comparison mercurial/commands.py @ 2625:70d65ca6d893

mention the bts for bug reporting in traceback message
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 16 Jul 2006 00:02:05 +0200
parents 0b4bff2b0ce3
children f84e166eb0de
comparison
equal deleted inserted replaced
2624:46e52bbb9b1a 2625:70d65ca6d893
3497 # Commands shouldn't sys.exit directly, but give a return code. 3497 # Commands shouldn't sys.exit directly, but give a return code.
3498 # Just in case catch this and and pass exit code to caller. 3498 # Just in case catch this and and pass exit code to caller.
3499 return inst.code 3499 return inst.code
3500 except: 3500 except:
3501 u.warn(_("** unknown exception encountered, details follow\n")) 3501 u.warn(_("** unknown exception encountered, details follow\n"))
3502 u.warn(_("** report bug details to mercurial@selenic.com\n")) 3502 u.warn(_("** report bug details to "
3503 "http://www.selenic.com/mercurial/bts\n"))
3504 u.warn(_("** or mercurial@selenic.com\n"))
3503 u.warn(_("** Mercurial Distributed SCM (version %s)\n") 3505 u.warn(_("** Mercurial Distributed SCM (version %s)\n")
3504 % version.get_version()) 3506 % version.get_version())
3505 raise 3507 raise
3506 3508
3507 return -1 3509 return -1