# HG changeset patch # User Simon Heimberg # Date 2013-03-21 17:16:48 # Node ID 6793ae6e36dce55ae26d4ad61bcec06bfb59d2dc # Parent 35fb2ef52a39b85169cab1c03cda5cfa335c72f9 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. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -5093,7 +5093,7 @@ def serve(ui, repo, **opts): " 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):