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.
--- 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):