IIS6+Win Server 2003 上的 Mercurial - 路径问题
我正在尝试按照教程 在此博客上
我的设置是
c:\inetpub\HG_web_interface\
,包含存储库的文件夹位于
d:\HG_repo\
我的 hgweb.config 看起来像这样
[paths]
test = D:\HG_rep\**
[web]
style = monoblue
我尝试了几乎所有正斜杠/反斜杠的组合,没有斜杠之类的,我让它工作的唯一方法是将我的存储库放在 c: 驱动器中,然后只需将此 n hgweb.config 放入它就可以像魅力一样工作
[paths]
test = \HG_rep\**
[web]
style = monoblue
知道出了什么问题吗?
ps:这可能是一些奇怪的权限问题吗?如果是这样,我该如何排除故障?
I'm trying to get Mercurial going with IIS6 on Windows Server 2003 following the tutorial on this blog
My setup is
c:\inetpub\HG_web_interface\
and the folder containing repositories is in
d:\HG_repo\
My hgweb.config looks like this
[paths]
test = D:\HG_rep\**
[web]
style = monoblue
I tried pretty much every combination of forward/backward slashes, no slashed and whatnot, the only way I get it to work is to put my repository in the c: drive, then it works like a charm by simply putting this n hgweb.config
[paths]
test = \HG_rep\**
[web]
style = monoblue
Any idea on what's wrong?
p.s.: could it be some weird permission problem? If so, how can I troubleshoot it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我猜“
:
”是由 configparser 解释的。你能尝试逃脱吗?较新的 hg 版本也应该可以解决这个问题,因为它包含自己的配置文件解析器。
I guess the "
:
" is interpreted by the configparser.Can you try to escape it ? A newer hg version should solve it too, since it includes it's own configuration file parser.
我发现:在 IIS 应用程序池中配置的用户没有对存储库文件夹的读/写访问权限!
有时事情比我们想象的要容易得多...现在我正在尝试解决为什么我无法使用 TortoiseHG 连接到我的存储库...
I figured it out: the user configured in the IIS application pool didn't have read/write access to the repository folder!
Sometimes things are much easier than we think... Now I'm trying to troubleshoot why I can't connect to my repository with TortoiseHG...