diff 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
line wrap: on
line diff
--- 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)