mercurial/hg.py
changeset 19777 6f72e7d28b35
parent 19371 648d1974b3f3
child 20089 2d0ab571b822
--- a/mercurial/hg.py	Mon Sep 23 11:37:06 2013 -0700
+++ b/mercurial/hg.py	Sat Sep 21 21:33:29 2013 +0900
@@ -101,7 +101,7 @@
     """return a repository object for the specified path"""
     obj = _peerlookup(path).instance(ui, path, create)
     ui = getattr(obj, "ui", ui)
-    for name, module in extensions.extensions():
+    for name, module in extensions.extensions(ui):
         hook = getattr(module, 'reposetup', None)
         if hook:
             hook(ui, obj)