1.1 --- a/java/hg-projekty/web/WEB-INF/cgi/hg Mon Feb 16 19:05:26 2009 +0100
1.2 +++ b/java/hg-projekty/web/WEB-INF/cgi/hg Mon Feb 16 20:35:11 2009 +0100
1.3 @@ -21,8 +21,8 @@
1.4 import os
1.5 os.environ["HGENCODING"] = "UTF-8"
1.6
1.7 -from mercurial.hgweb.hgweb_mod import hgweb
1.8 +from mercurial.hgweb.hgwebdir_mod import hgwebdir
1.9 import mercurial.hgweb.wsgicgi as wsgicgi
1.10
1.11 -application = hgweb("/var/hg/projekty/pokus", "Pokus")
1.12 +application = hgwebdir("/var/hg/projekty.config")
1.13 wsgicgi.launch(application)