Mercurial Error 400:错误请求,返回码为255

时间:2013-05-08 20:12:01

标签: version-control mercurial webstorm

我们的存储库包含两个分支:默认分支(开发新功能)和稳定分支(实现错误修复)。当开发人员将默认分支合并到稳定分支并推动所有其他开发人员在尝试提取或推送更改时收到错误400:错误请求,返回代码为255。

我们有多个其他存储库位于同一台服务器上,但不同的团队使用这些存储库似乎没有遇到同样的问题。有问题的存储库由我们的Web开发团队与WebStorm IDE一起使用。

这是我们第二次使用相同的存储库遇到此问题。它最后一次发生时我们创建了一个新的存储库并丢失了我们所有的历史记录。显然,这不是理想的解决方案,非常不受欢迎。我们想确定导致错误的原因是什么。

当我们克隆存储库时,问题会暂时解决,直到有人推动涉及合并两个分支的新更改,然后除了推动更改的人之外的所有人都会收到错误。

以下是 hg --debug --traceback pull

的输出
C:\Dev\HosedPrism>hg --debug --traceback pull
using http://mercurialserver01:8080/hg/rproxweb_OLD/
sending capabilities command
using auth.rprox.* for authentication
http auth: user jpalumbo, password ********
pulling from http://mercurialserver01:8080/hg/rproxweb_OLD/
query 1; heads
sending heads command
http auth: user jpalumbo, password ********
searching for changes
taking initial sample
searching: 2 queries
query 2; still undecided: 208, sample size is: 200
sending known command
http auth: user jpalumbo, password ********
Traceback (most recent call last):
File "mercurial\dispatch.pyo", line 88, in _runcatch
File "mercurial\dispatch.pyo", line 743, in _dispatch
File "mercurial\dispatch.pyo", line 514, in runcommand
File "mercurial\dispatch.pyo", line 833, in _runcommand
File "mercurial\dispatch.pyo", line 804, in checkargs
File "mercurial\dispatch.pyo", line 740, in <lambda>
File "mercurial\util.pyo", line 475, in check
File "mercurial\extensions.pyo", line 144, in wrap
File "mercurial\util.pyo", line 475, in check
File "hgext\mq.pyo", line 3508, in mqcommand
File "mercurial\util.pyo", line 475, in check
File "mercurial\commands.pyo", line 4743, in pull
File "mercurial\localrepo.pyo", line 1670, in pull
File "mercurial\discovery.pyo", line 46, in findcommonincoming
File "mercurial\setdiscovery.pyo", line 182, in findcommonheads
File "mercurial\wireproto.pyo", line 115, in plain
File "mercurial\wireproto.pyo", line 163, in _submitone
File "mercurial\httppeer.pyo", line 170, in _call
File "mercurial\httppeer.pyo", line 118, in _callstream
File "urllib2.pyo", line 406, in open
File "urllib2.pyo", line 519, in http_response
File "urllib2.pyo", line 438, in error
File "urllib2.pyo", line 378, in _call_chain
File "urllib2.pyo", line 1078, in http_error_401
File "mercurial\url.pyo", line 407, in http_error_auth_reqed
File "urllib2.pyo", line 963, in http_error_auth_reqed
File "urllib2.pyo", line 974, in retry_http_digest_auth
File "urllib2.pyo", line 406, in open
File "urllib2.pyo", line 519, in http_response
File "urllib2.pyo", line 444, in error
File "urllib2.pyo", line 378, in _call_chain
File "urllib2.pyo", line 527, in http_error_default
HTTPError: HTTP Error 400: Bad Request
abort: HTTP Error 400: Bad Request

hg verify 不报告存储库中的任何损坏。

我尝试使用hg rollback命令,按照以下问题Mercurial keeps returning Error 400: Bad Request。 然而,这似乎没有解决问题。

有没有人遇到过类似的问题?或者对问题是什么有任何见解?我将永远感激任何帮助,不仅是为了挽救我们的历史,而且是为了防止将来再次发生这种情况。

0 个答案:

没有答案