我做的步骤: -
1.安装mercurial in both server (virtually both are win-7) and client
。
2.使用hg init处理存储库,然后添加一个文件并提交....
3.然后hg在服务器中服务。
4.在客户端,如果我做hg clone http:// {192.168.3.6:port} / repo
注意: - 在我给出的实际案例中,'{'不存在。帖子不允许ip,所以我做了
5.服务器中的错误是
Exception happened during processing of request from ('', 49750)
Traceback (most recent call last):
File "SocketServer.pyc", line 582, in process_request_thread
File "SocketServer.pyc", line 323, in finish_request
File "mercurial\hgweb\server.pyc", line 48, in __init__
File "SocketServer.pyc", line 638, in __init__
File "BaseHTTPServer.pyc", line 342, in handle
File "BaseHTTPServer.pyc", line 310, in handle_one_request
File "socket.pyc", line 476, in readline
error: [Errno 10054] An existing connection was forcibly closed by the remote ho
st
我该怎么做才能纠正这个问题? 要求是我想通过http克隆到远程仓库。 我想为在LAN工作的3个成员团队设置。所有都是Windows 7机器。
我是Mercurial的新手..请告诉我哪里出错了?
更新:
Silly mistake i missed a space between source and destination in the hg clone http:/- - - / {space} repo
它得到了工作。谢谢。
答案 0 :(得分:0)
对不起..
愚蠢的错误我错过了hg clone http:/ - - - / {space} repo中源和目标之间的空格。 我提到了这个link。它被提到了
<强> C:\用户\玫瑰&GT; hg clone http://joel.example.com:8000/食谱
我没能看到那个/和收件人之间的空间。