mercurial/hgweb/hgwebdir_mod.py
changeset 30559 d83ca854fa21
parent 29787 80df04266a16
child 30636 f1c9fafcbf46
--- a/mercurial/hgweb/hgwebdir_mod.py	Wed Nov 30 19:23:04 2016 +0000
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sat Oct 22 14:35:10 2016 +0900
@@ -136,7 +136,7 @@
         if self.baseui:
             u = self.baseui.copy()
         else:
-            u = uimod.ui()
+            u = uimod.ui.load()
             u.setconfig('ui', 'report_untrusted', 'off', 'hgwebdir')
             u.setconfig('ui', 'nontty', 'true', 'hgwebdir')
             # displaying bundling progress bar while serving feels wrong and may