can't push/pull from mercurial repository - abort: error: An existing connection was forcibly closed by the remote host

后端 未结 2 550
夕颜
夕颜 2020-12-18 12:51

I am planning to use mercurial for a new project but I\'m having some problem accessing the bitbucket repository. I\'m new to mercurial, but I have used git previously.

2条回答
  •  别那么骄傲
    2020-12-18 13:22

    So I found the source of the error, I had initially installed tortoise hg which had created the following mercurial.ini file in my user directory, once I deleted this file, it resolved the issue. I suppose the problem was that I had specified the repository url instead of an actual http proxy...

    # Generated by TortoiseHg settings dialog
    
    
    [tortoisehg]
    cipushafter = 
    
    
    [http_proxy]
    host = https://****@bitbucket.org/****/*** (my repository path)
    

提交回复
热议问题