hgweb: Point hgwebdir.cgi at /etc/hgweb.conf.
authorroot <root@template.drsnuggles.stderr.nl>
Mon, 24 Nov 2008 23:26:25 +0000 (00:26 +0100)
committerroot <root@template.drsnuggles.stderr.nl>
Mon, 24 Nov 2008 23:26:25 +0000 (00:26 +0100)
/etc/hgweb.conf points hgweb at /data/vcs/hg.

etc/hgweb.conf [new file with mode: 0644]
usr/local/lib/cgi-bin/hgwebdir.cgi

diff --git a/etc/hgweb.conf b/etc/hgweb.conf
new file mode 100644 (file)
index 0000000..0549245
--- /dev/null
@@ -0,0 +1,2 @@
+[collections]
+/ = /data/vcs/hg
index b5c7e794def4611f8132a425eaa31bf0c6490493..bd145826fd8b9d90525ac519bfb87ae9d0f98163 100755 (executable)
@@ -43,5 +43,5 @@ import mercurial.hgweb.wsgicgi as wsgicgi
 # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
 # or use a dictionary with entries like 'virtual/path': '/real/path'
 
-application = hgwebdir('hgweb.config')
+application = hgwebdir('/etc/hgweb.conf')
 wsgicgi.launch(application)