小编zik*_*agx的帖子

Mercurial CGI(hgweb.cgi)失败

我在运行在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, …

python mercurial windows-server-2008

10
推荐指数
2
解决办法
2248
查看次数

Mercurial Changegroup挂钩因分支而异

Mercurial中是否存在现有的钩子,像changegroup一样,允许在推送时进行操作,但允许我根据哪些分支受其中的更改集影响而执行多个操作(或更改它们)?

例如,我需要在推送时通过url通知侦听器,但理想情况下,它会根据受影响的分支通知不同的URL,而不必覆盖所有分支.

mercurial hook

6
推荐指数
1
解决办法
1607
查看次数

标签 统计

mercurial ×2

hook ×1

python ×1

windows-server-2008 ×1