Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Version control 在mercurial中克隆到远程存储库_Version Control_Mercurial_Repository - Fatal编程技术网

Version control 在mercurial中克隆到远程存储库

Version control 在mercurial中克隆到远程存储库,version-control,mercurial,repository,Version Control,Mercurial,Repository,我执行的步骤:- 1.在服务器(实际上都是win-7)和客户端中安装了mercurial。 2.使用hg init创建了一个存储库,然后添加了一个文件并提交。。。。 3.然后hg在服务器中服务。 4.在客户端中,如果我使hg clonehttp://{192.168.3.6:port}/repo 注意:“{”在我给出的真实案例中不存在。Post不允许ip,所以我这样做了 5.服务器中的错误为 Exception happened during processing of request from

我执行的步骤:-

1.在服务器(实际上都是win-7)和客户端中安装了
mercurial
。 2.使用hg init创建了一个存储库,然后添加了一个文件并提交。。。。 3.然后hg在服务器中服务。 4.在客户端中,如果我使hg clonehttp://{192.168.3.6:port}/repo

注意:“{”在我给出的真实案例中不存在。Post不允许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克隆到远程repo。 我想为在局域网中工作的3人团队设置。所有都是windows 7机器

我是Mercurial的新手,请告诉我哪里出了问题

更新:

Silly mistake i missed a space between source and destination in the hg clone http:/- - - / {space} repo
它开始工作了。谢谢。对不起

愚蠢的错误我在hg clone http://-/{space}repo中遗漏了源和目标之间的空格。 我提到过这件事,它是这样说的

C:\Users\rose>hg克隆食谱

我没能在那件事和往事之间找到那块空地