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

后端 未结 2 526
夕颜
夕颜 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:10

    Browse to the project folder in command prompt and run hg rollback.

    0 讨论(0)
  • 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)
    
    0 讨论(0)
提交回复
热议问题