mercurial/hgweb/hgweb_mod.py
changeset 30559 d83ca854fa21
parent 29787 80df04266a16
child 30636 f1c9fafcbf46
--- a/mercurial/hgweb/hgweb_mod.py	Wed Nov 30 19:23:04 2016 +0000
+++ b/mercurial/hgweb/hgweb_mod.py	Sat Oct 22 14:35:10 2016 +0900
@@ -224,7 +224,7 @@
             if baseui:
                 u = baseui.copy()
             else:
-                u = uimod.ui()
+                u = uimod.ui.load()
             r = hg.repository(u, repo)
         else:
             # we trust caller to give us a private copy
@@ -467,4 +467,3 @@
         return repo.filtered(viewconfig)
     else:
         return repo.filtered('served')
-