I have a mercurial repository, when I try to push my changes to bitbucket I suddenly get the error
HTTP Error 502: Bad Gateway
after a long moment of wait (searching changes..)
Any idea? this has had me stumped for two days!
Some people report similar issues when trying to push big changesets using the HTTP protocol. Try using SSH instead. You can find instructions for Bitbucket here.