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	Wed Nov 16 12:56:19 2005 +0100
+++ b/mercurial/commands.py	Wed Nov 16 19:19:39 2005 +0100
@@ -2651,6 +2651,8 @@
     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)