changeset 6985:5cf3bf3c19ba

show extensions loaded on traceback
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 05 Sep 2008 10:00:57 +0200
parents 029a54423a96
children 55c16f12908b
files mercurial/dispatch.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dispatch.py	Wed Sep 03 15:46:46 2008 +0200
+++ b/mercurial/dispatch.py	Fri Sep 05 10:00:57 2008 +0200
@@ -146,6 +146,8 @@
         ui.warn(_("** or mercurial@selenic.com\n"))
         ui.warn(_("** Mercurial Distributed SCM (version %s)\n")
                % version.get_version())
+        ui.warn(_("** Extensions loaded: %s\n")
+               % ", ".join([x[0] for x in extensions.extensions()]))
         raise
 
     return -1