mercurial/hgweb/__init__.py
author Matt Mackall <mpm@selenic.com>
Mon, 26 Apr 2010 11:03:40 -0500
changeset 10994 c12a57c1a67e
parent 10992 a9b8c8c8ce80
child 10996 f6d41bfc189e
permissions -rw-r--r--
hgweb: add baseui to hgweb entrypoint

# 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, baseui=None):
    return hgweb_mod.hgweb(repo, name=name, baseui=baseui)

def hgwebdir(config, baseui=None):
    return hgwebdir_mod.hgwebdir(config, baseui=baseui)