Added version information to "report bug" message for unknown exceptions.
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 16 Nov 2005 19:19:39 +0100
changeset 1552 7509fa02437f
parent 1551 e793cbc8be00
child 1553 4aeba581990b
Added version information to "report bug" message for unknown exceptions.
mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2651,6 +2651,8 @@ def dispatch(args):
     except:
         u.warn(_("** unknown exception encountered, details follow\n"))
         u.warn(_("** report bug details to mercurial@selenic.com\n"))
+        u.warn(_("** Mercurial Distributed SCM (version %s)\n")
+               % version.get_version())
         raise
 
     sys.exit(-1)