# HG changeset patch # User Thomas Arendsen Hein # Date 1132165179 -3600 # Node ID 7509fa02437f8dadaea6266e9512843ac272b38d # Parent e793cbc8be005926f4e9582b8326594aac8f9615 Added version information to "report bug" message for unknown exceptions. diff --git a/mercurial/commands.py b/mercurial/commands.py --- 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)