Mercurial on Phabricator: “remote: abort: stream ended unexpectedly”

隐身守侯 提交于 2019-12-10 13:54:27

问题


I'm having this problem when trying to push to a remote server. It is a Mercurial repository on Phabricator. Here are my output.

hg commit -m "udpate README"
hg push
pushing to ssh://company.server
searching for changes
remote: abort: stream ended unexpectedly (got 0 bytes, expected 4)

I'm using the latest version of Mercurial 3.5.2+20151001 on Mac OS 10.10.

I have this problem from yesterday. During that time, I could successfully committed two times, although I did nothing.

Why the output somewhat looks like this question, the problem here is different, because I have deleted the repository and cloned again many times without any problem. (my first attempt to solve the problem)

The system admin and the server is at another city, so he can't take a look at my machine. Any help would be greatly appreciated.


回答1:


This looks like there may be a problem with the server and client disagreeing on the new bundle2 format for the wire protocol introduced in 3.5. I'd recommend trying to temporarily downgrade to 3.4.2 (e.g. with pip install mercurial==3.4.2) to see if it fixes this. See this discussion on Phabricator. If it doesn't work, hg push --debug --traceback can provide more information on what exactly went wrong.



来源:https://stackoverflow.com/questions/32979184/mercurial-on-phabricator-remote-abort-stream-ended-unexpectedly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!