Mercurial 存储库未推送到 Web 服务器
我目前有运行 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的解决方案(或解决方法)是我导出补丁并修补服务器。之后我提交了一个新的 .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.