comparison mercurial/hgweb/__init__.py @ 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 25e572394f5c
children c12a57c1a67e
comparison
equal deleted inserted replaced
10991:11569b997f81 10992:a9b8c8c8ce80
6 # This software may be used and distributed according to the terms of the 6 # This software may be used and distributed according to the terms of the
7 # GNU General Public License version 2 or any later version. 7 # GNU General Public License version 2 or any later version.
8 8
9 import hgweb_mod, hgwebdir_mod 9 import hgweb_mod, hgwebdir_mod
10 10
11 def hgweb(*args, **kwargs): 11 def hgweb(repo, name=None):
12 return hgweb_mod.hgweb(*args, **kwargs) 12 return hgweb_mod.hgweb(repo, name=name)
13 13
14 def hgwebdir(*args, **kwargs): 14 def hgwebdir(config, baseui=None):
15 return hgwebdir_mod.hgwebdir(*args, **kwargs) 15 return hgwebdir_mod.hgwebdir(config, baseui=baseui)
16 16