Mercurial > hg
changeset 10992:a9b8c8c8ce80
hgweb: make top-level prototypes mirror their callees
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 26 Apr 2010 11:03:40 -0500 |
parents | 11569b997f81 |
children | c1b43d786889 |
files | mercurial/hgweb/__init__.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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)