From patchwork Fri Mar 22 01:20:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [03,of,10] serve: pass the prepared baseui to hgweb From: Simon Heimberg X-Patchwork-Id: 1159 Message-Id: <105291a2228c1e12990b.1363915253@lapsi.heimberg.home> To: Mercurial-devel Date: Fri, 22 Mar 2013 02:20:53 +0100 # HG changeset patch # User Simon Heimberg # Date 1363886208 -3600 # Node ID 105291a2228c1e12990bb13e25924b07e7e5319a # Parent 00aa259c196fbb9751c11933a3f6581152a44c57 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 -r 00aa259c196f -r 105291a2228c mercurial/commands.py --- a/mercurial/commands.py Don Mär 21 18:16:48 2013 +0100 +++ b/mercurial/commands.py Don Mär 21 18:16:48 2013 +0100 @@ -5006,7 +5006,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):