##// END OF EJS Templates
hgweb: make baseui parameter non-positional
hgweb: make baseui parameter non-positional

File last commit:

r10992:a9b8c8c8 default
r10993:c1b43d78 default
Show More
__init__.py
16 lines | 509 B | text/x-python | PythonLexer
# hgweb/__init__.py - web interface to a mercurial repository
#
# Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net>
# Copyright 2005 Matt Mackall <mpm@selenic.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
import hgweb_mod, hgwebdir_mod
def hgweb(repo, name=None):
return hgweb_mod.hgweb(repo, name=name)
def hgwebdir(config, baseui=None):
return hgwebdir_mod.hgwebdir(config, baseui=baseui)