diff mercurial/hgweb/__init__.py @ 10994:c12a57c1a67e

hgweb: add baseui to hgweb entrypoint
author Matt Mackall <mpm@selenic.com>
date Mon, 26 Apr 2010 11:03:40 -0500
parents a9b8c8c8ce80
children f6d41bfc189e
line wrap: on
line diff
--- a/mercurial/hgweb/__init__.py	Mon Apr 26 11:03:40 2010 -0500
+++ b/mercurial/hgweb/__init__.py	Mon Apr 26 11:03:40 2010 -0500
@@ -8,8 +8,8 @@
 
 import hgweb_mod, hgwebdir_mod
 
-def hgweb(repo, name=None):
-    return hgweb_mod.hgweb(repo, name=name)
+def hgweb(repo, name=None, baseui=None):
+    return hgweb_mod.hgweb(repo, name=name, baseui=baseui)
 
 def hgwebdir(config, baseui=None):
     return hgwebdir_mod.hgwebdir(config, baseui=baseui)