mercurial/hgweb/__init__.py
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Fri, 14 Aug 2009 08:19:49 -0400
changeset 9933 2e7902158af9
parent 8225 46293a0c7e9f
child 10263 25e572394f5c
permissions -rw-r--r--
inotify: create a common, OS-independent server entry point * rename server.py to linuxserver.py * create server.py: it will contain OS-independent logic for servers, and will import the right server depending on the OS * old server.server class is renamed to linuxserver.socketlistener

# 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, incorporated herein by reference.

import hgweb_mod, hgwebdir_mod

def hgweb(*args, **kwargs):
    return hgweb_mod.hgweb(*args, **kwargs)

def hgwebdir(*args, **kwargs):
    return hgwebdir_mod.hgwebdir(*args, **kwargs)