IIS6+Win Server 2003 上的 Mercurial - 路径问题

发布于 2024-08-04 03:32:36 字数 623 浏览 2 评论 0原文

我正在尝试按照教程 在此博客上

我的设置是

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

初与友歌 2024-08-11 03:32:37

我猜“:”是由 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.

暮凉 2024-08-11 03:32:36

我发现:在 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...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文