mercurial/dispatch.py
changeset 11556 c20c2c4c0c63
parent 11524 24965bb270b7
parent 11555 d8d0fc3988ca
child 11574 6381fa7bfa53
--- a/mercurial/dispatch.py	Wed Jul 14 19:44:49 2010 +0200
+++ b/mercurial/dispatch.py	Wed Jul 14 20:41:01 2010 +0200
@@ -398,6 +398,8 @@
     # times so we keep track of configured extensions in _loaded.
     extensions.loadall(lui)
     exts = [ext for ext in extensions.extensions() if ext[0] not in _loaded]
+    # Propagate any changes to lui.__class__ by extensions
+    ui.__class__ = lui.__class__
 
     # (uisetup and extsetup are handled in extensions.loadall)