# HG changeset patch # User Matt Mackall # Date 1272297820 18000 # Node ID a9b8c8c8ce80beb77e6dd4fee8d5a00dd6e9e192 # Parent 11569b997f81f977b2741e0b7d55fd4f604f8efa hgweb: make top-level prototypes mirror their callees diff -r 11569b997f81 -r a9b8c8c8ce80 mercurial/hgweb/__init__.py --- a/mercurial/hgweb/__init__.py Mon Apr 26 11:02:11 2010 -0500 +++ b/mercurial/hgweb/__init__.py Mon Apr 26 11:03:40 2010 -0500 @@ -8,9 +8,9 @@ import hgweb_mod, hgwebdir_mod -def hgweb(*args, **kwargs): - return hgweb_mod.hgweb(*args, **kwargs) +def hgweb(repo, name=None): + return hgweb_mod.hgweb(repo, name=name) -def hgwebdir(*args, **kwargs): - return hgwebdir_mod.hgwebdir(*args, **kwargs) +def hgwebdir(config, baseui=None): + return hgwebdir_mod.hgwebdir(config, baseui=baseui)