##// END OF EJS Templates
hgweb: make top-level prototypes mirror their callees
Matt Mackall -
r10992:a9b8c8c8 default
parent child Browse files
Show More
@@ -1,16 +1,16 b''
1 1 # hgweb/__init__.py - web interface to a mercurial repository
2 2 #
3 3 # Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net>
4 4 # Copyright 2005 Matt Mackall <mpm@selenic.com>
5 5 #
6 6 # This software may be used and distributed according to the terms of the
7 7 # GNU General Public License version 2 or any later version.
8 8
9 9 import hgweb_mod, hgwebdir_mod
10 10
11 def hgweb(*args, **kwargs):
12 return hgweb_mod.hgweb(*args, **kwargs)
11 def hgweb(repo, name=None):
12 return hgweb_mod.hgweb(repo, name=name)
13 13
14 def hgwebdir(*args, **kwargs):
15 return hgwebdir_mod.hgwebdir(*args, **kwargs)
14 def hgwebdir(config, baseui=None):
15 return hgwebdir_mod.hgwebdir(config, baseui=baseui)
16 16
General Comments 0
You need to be logged in to leave comments. Login now