Mercurial > hg > index.fcgi > www > www-1
changeset 14:3affc32b1647
add hg/
author | paulo |
---|---|
date | Tue, 18 Dec 2012 03:30:33 -0700 |
parents | b1038ce571d3 |
children | 16358b2cfcdb |
files | hg/hgweb.cfg hg/index.fcgi |
diffstat | 2 files changed, 16 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/hg/hgweb.cfg Tue Dec 18 03:30:33 2012 -0700 1.3 @@ -0,0 +1,6 @@ 1.4 +[paths] 1.5 +/ = /home3/pauloang/hg/* 1.6 + 1.7 +[web] 1.8 +allow_push = "" 1.9 +collapse = True
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/hg/index.fcgi Tue Dec 18 03:30:33 2012 -0700 2.3 @@ -0,0 +1,10 @@ 2.4 +#!/usr/bin/env python 2.5 + 2.6 +from flup.server.fcgi import WSGIServer 2.7 +from mercurial.hgweb import hgweb 2.8 + 2.9 +from mercurial import demandimport; demandimport.enable() 2.10 + 2.11 + 2.12 +WSGIServer(hgweb("_hgweb.cfg")).run() 2.13 +