changeset 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 4aeba581990b
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)