dispatch: include Python version in traceback stable
authorMartin Geisler <mg@aragost.com>
Fri, 21 May 2010 13:40:59 +0200
branchstable
changeset 11206 ed71cb07d7b2
parent 11195 46bb49134498
child 11209 385b95d10410
child 11217 1b8aa9ffa7dc
child 11242 f4a8478dcd3f
dispatch: include Python version in traceback
mercurial/dispatch.py
--- 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")