回溯configurationhgweb.cgi为Mercurial存储库提供服务
我有麻烦让我的hgweb.cgi脚本成功地读取我的hgweb.config文件。 它失败与错误Abort: /var/www/hg/hgweb.config: not a Mercurial bundle file 。 下面的细节 /var/www/hg/hgweb.config [collections] / = /home/danish/repos/hg/ [web] baseurl = /hg style = git-web 错误详情 Traceback (most recent call last): File "hgweb.cgi", line 17, in <module> application = hgweb(config) File "/usr/lib/pymodules/python2.6/mercurial/hgweb/__init__.py", line 12, in hgweb return hgweb_mod.hgweb(*args, **kwargs) File "/usr/lib/pymodules/python2.6/mercurial/hgweb/hgweb_mod.py", line 30, in __init__ self.repo = hg.repository(u, […]