我在运行在vm上的Win 2k8 R2上安装了Mercurial 1.8.1,Python 2.6.6.我尝试从msi,源码和使用tortisehg安装.命令行Hg工作正常,但运行hgweb.cgi时出现同样的错误:
Traceback (most recent call last):
File ".\hgweb.cgi", line 17, in
application = hgweb(config)
File "mercurial\hgweb\__init__.pyc", line 26, in hgweb
File "mercurial\hgweb\hgwebdir_mod.pyc", line 61, in __init__
File "mercurial\hgweb\hgwebdir_mod.pyc", line 70, in refresh
File "mercurial\ui.pyc", line 35, in __init__
File "mercurial\demandimport.pyc", line 75, in __getattribute__
File "mercurial\demandimport.pyc", line 47, in _load
File "mercurial\util.pyc", line 576, in
File "mercurial\demandimport.pyc", line 85, in _demandimport
File "mercurial\windows.pyc", line 21, in
File "mercurial\demandimport.pyc", line 75, in __getattribute__
File "mercurial\demandimport.pyc", line 47, … Mercurial中是否存在现有的钩子,像changegroup一样,允许在推送时进行操作,但允许我根据哪些分支受其中的更改集影响而执行多个操作(或更改它们)?
例如,我需要在推送时通过url通知侦听器,但理想情况下,它会根据受影响的分支通知不同的URL,而不必覆盖所有分支.