hg push abort: http authorization required. i am pushing to my local bitbucket repository

sat picture sat · Apr 8, 2013 · Viewed 7.1k times · Source

i am trying to push my changes to my local remote repository in bitbucket. i have access to this repository. but when i do this, it is showing like this. it should show prompt for password but it is not showing.

$ hg push
pushing to https://[email protected]/sat801/i4330-notification-sm
abort: http authorization required

and in my .hg folder, this is my hgrc file

[ui]
username = sat801 <*******@example.com>
editor = nano

[paths]
default = https://[email protected]/sat801/i4330-notification-sm

i can neither push anything in my local repo nor pull anything from it. it is showing the same error

abort: http authorization required

please let me know how to solve this problem

Answer

djc picture djc · Apr 9, 2013

I think you either have to use sat801:[email protected] (i.e. include your password) or forego putting your username in.