Mercurial 存储库未推送到 Web 服务器

发布于 2024-10-16 08:18:46 字数 1465 浏览 1 评论 0原文

我目前有运行 Mercurial 1.7.5 的 apache(全部在 Windows 2003 64 位上),并且可以成功地从服务器存储库克隆、推送和拉取。我的问题是,当我克隆我的一个项目并进行更改时,将 /mainfolder/subfolders1/subfolders2 中的所有文件移动到一个文件夹中,以便 subfolders1 是主文件夹。这可以很好地提交到我的本地存储库,并且可以在本地克隆,但是当我推送到服务器时,我收到错误(经过长时间的等待)

推送到 http://xxxx:81/hg/hgweb.cgi/repox 寻找改变 HTTP 错误 504:网关超时

我尝试进行恢复,但似乎没有解决问题。 由于 oracle 驱动程序的原因,我的 .hg 与系统上的其他文件相比有点大(.hg 文件夹总共 51.8mbs) 我已经尽可能多地用谷歌搜索了这个问题,但似乎找不到任何人运行自己的服务器有类似的问题,

如果需要,我可以进一步澄清这一点...... 预先感谢 Apache 2.2 日志的帮助

16.43.60 - - [09/2/2011:09:09:15 -0500] "GET /hg/hgweb.cgi/StringUtility?pairs=0000000000000000000000000000000000000000-000000000000000000000 000000000000000000&cmd=之间 HTTP/1.1" 200 1 10.16.43.60 - - [09/Feb/2011:09:09:15 -0500]“GET /hg/hgweb.cgi/StringUtility?cmd=功能 HTTP/1.1" 200 79 10.16.43.60 - - [09/Feb/2011:09:09:15 -0500]“GET /hg/hgweb.cgi/StringUtility?cmd=heads HTTP/1.1" 200 41 10.16.43.60 - - [09/Feb/2011:09:09:15 -0500]“GET /hg/hgweb.cgi/StringUtility?cmd=branchmap HTTP/1.1" 200 171 10.16.43.60 - - [09/2/2011:09:09:34 -0500]“POST /hg/hgweb.cgi/StringUtility?cmd=unbundle&heads=2d00dc4fd9b975e4e8fc66a3fc0d212d4858d1d0 HTTP/1.1" 504 249

Apache 2.2 错误日志:

[Wed Feb 09 09:14:39 2011] [错误] [客户端 10.16.43.60] 返回标头之前脚本超时:hgweb.cgi

还:当我尝试通过 cmd (hg Push [服务器]) 推送时,它似乎坚持“寻找改变”

I currently have apache running mercurial 1.7.5 (all on windows 2003 64bit) and can successfully clone, push and pull from the server repos. My problem is when i clone one of my projects and make the change of moving all files from the /mainfolder/subfolders1/subfolders2 up one folder so the subfolders1 is the mainfolder. This commits fine to my local repo and can be cloned locally but when i push to the server i get the error (after a long wait)

pushing to http://xxxx:81/hg/hgweb.cgi/repox
searching for changes
HTTP Error 504: Gateway Time-out

I have tried doing a recover but that didn't seem to fix the issue.
My .hg is sort of large compared to others on the system because of the oracle drivers (51.8mbs total for the .hg folder)
I have googled this issue as much as I can and cant seem to find anyone running their own server having similar issues

I can clarify this more if needed...
Thanks in advance for the help

Apache 2.2 log:

16.43.60 - - [09/Feb/2011:09:09:15 -0500] "GET /hg/hgweb.cgi/StringUtility?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between
HTTP/1.1" 200 1
10.16.43.60 - - [09/Feb/2011:09:09:15 -0500] "GET /hg/hgweb.cgi/StringUtility?cmd=capabilities
HTTP/1.1" 200 79
10.16.43.60 - - [09/Feb/2011:09:09:15 -0500] "GET /hg/hgweb.cgi/StringUtility?cmd=heads
HTTP/1.1" 200 41
10.16.43.60 - - [09/Feb/2011:09:09:15 -0500] "GET /hg/hgweb.cgi/StringUtility?cmd=branchmap
HTTP/1.1" 200 171
10.16.43.60 - - [09/Feb/2011:09:09:34 -0500] "POST /hg/hgweb.cgi/StringUtility?cmd=unbundle&heads=2d00dc4fd9b975e4e8fc66a3fc0d212d4858d1d0
HTTP/1.1" 504 249

Apache 2.2 Error log:

[Wed Feb 09 09:14:39 2011] [error] [client 10.16.43.60] Script timed out before returning headers: hgweb.cgi

also: when i try to push via the cmd (hg push [server]) it seems to hang on the "searching for changes"

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

香草可樂 2024-10-23 08:18:46

我的解决方案(或解决方法)是我导出补丁并修补服务器。之后我提交了一个新的 .hgignore 文件,它很好地到达了服务器。我认为发生这种情况是因为我的提交中大量移动了文件。

谢谢。

My solution (or workaround) is i exported the patch and patched the server. After that I commited a new .hgignore file and it went up to the server fine. I think this is happening because of the mass move of files in my commit.

Thanks.

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