diff mercurial/dispatch.py @ 11206:ed71cb07d7b2 stable

dispatch: include Python version in traceback
author Martin Geisler <mg@aragost.com>
date Fri, 21 May 2010 13:40:59 +0200
parents 59d0d715fbfa
children 385b95d10410
line wrap: on
line diff
--- a/mercurial/dispatch.py	Wed May 19 22:09:58 2010 +0200
+++ b/mercurial/dispatch.py	Fri May 21 13:40:59 2010 +0200
@@ -157,6 +157,7 @@
         ui.warn(_("** report bug details to "
                  "http://mercurial.selenic.com/bts/\n"))
         ui.warn(_("** or mercurial@selenic.com\n"))
+        ui.warn(_("** Python %s\n") % sys.version.replace('\n', ''))
         ui.warn(_("** Mercurial Distributed SCM (version %s)\n")
                % util.version())
         ui.warn(_("** Extensions loaded: %s\n")