#!/usr/bin/env python
from mercurial import demandimport; demandimport.enable()
import cgitb; cgitb.enable()
import os; os.environ["HGENCODING"] = "UTF-8"

from mercurial.hgweb.hgwebdir_mod import hgwebdir
from mercurial.hgweb.request import wsgiapplication
import mercurial.hgweb.wsgicgi as wsgicgi
def make_web_app():
    return hgwebdir({
        'name1': '/path/to/the/repository',
        'name2': '/path/to/the/repository',
    })
wsgicgi.launch(wsgiapplication(make_web_app))
» continue reading
Posted by yungyuc at 10:18, 0 comment, 0 trackback.
Change to page (10 entries in each page): 1
© hover year to navigate month: powered by django