serve: pass the prepared baseui to hgweb
authorSimon Heimberg <simohe@besonet.ch>
Thu, 21 Mar 2013 18:16:48 +0100
changeset 18827 6793ae6e36dc
parent 18826 35fb2ef52a39
child 18828 b718999f2e0b
serve: pass the prepared baseui to hgweb The baseui was carefully prepared but not used. ui can contain repo specific settings which can have unwanted effects.
mercurial/commands.py
--- a/mercurial/commands.py	Thu Mar 21 18:16:48 2013 +0100
+++ b/mercurial/commands.py	Thu Mar 21 18:16:48 2013 +0100
@@ -5093,7 +5093,7 @@
                                     " here (.hg not found)"))
         o = repo.root
 
-    app = hgweb.hgweb(o, baseui=ui)
+    app = hgweb.hgweb(o, baseui=baseui)
 
     class service(object):
         def init(self):