changeset 18827:6793ae6e36dc

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.
author Simon Heimberg <simohe@besonet.ch>
date Thu, 21 Mar 2013 18:16:48 +0100
parents 35fb2ef52a39
children b718999f2e0b
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):