I am using SourceTree with Bitbucket.
I used to be able to push without errors.
Now I get
hg push --new-branch default
pushing to https://bitbucket.org/myusername/myrepository/branch/default
abort: HTTP Error 404: Not Found
Completed with errors, see above.
I can see the repository in the browser.
I can push from a different machine. It works correctly on a machine where the url is myusername@bitbucket.org/myusername/myrepository
.
You have to drop the branch/default
part of the URL. The canonical repository URL is https://bitbucket.org/myusername/myrepository/
.
For some reason, bitbucket allows read operations from URL/more/stuff
but not write operations.