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.
Browse to the project folder in command prompt and run hg rollback.
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)