comparison mercurial/commands.py @ 1552:7509fa02437f

Added version information to "report bug" message for unknown exceptions.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 16 Nov 2005 19:19:39 +0100
parents e793cbc8be00
children f7d9823e65df 59b3639df0a9
comparison
equal deleted inserted replaced
1551:e793cbc8be00 1552:7509fa02437f
2649 # don't catch this in the catch-all below 2649 # don't catch this in the catch-all below
2650 raise 2650 raise
2651 except: 2651 except:
2652 u.warn(_("** unknown exception encountered, details follow\n")) 2652 u.warn(_("** unknown exception encountered, details follow\n"))
2653 u.warn(_("** report bug details to mercurial@selenic.com\n")) 2653 u.warn(_("** report bug details to mercurial@selenic.com\n"))
2654 u.warn(_("** Mercurial Distributed SCM (version %s)\n")
2655 % version.get_version())
2654 raise 2656 raise
2655 2657
2656 sys.exit(-1) 2658 sys.exit(-1)