Details
-
Bug
-
Resolution: Won't Fix
-
Medium
Description
I have two accounts on bitbucket. One is my own personal one for my own open source stuff. The second is for work where I then have access to a paid for repository.
I had to associate a SSH rsa key with one account and dss key with the other (you won't allow the same SSH key for different accounts). Unfortunately bitbucket gets confused since it appears to guess my user based on what ssh tried to negotiate since the username is always 'hg' but SSH seems to pick keys in a random order.
Please can you let me specify my account name in the SSH URL instead of 'hg' which will make all these kind of issues go away.
If you won't do that then at least please put who you think I am in error messages. Below is an example of an error I am currently getting, but I can't tell who bitbucket thinks I am - it just says "You're":
{{
{\\ $ hg push ssh://hg@bitbucket.org/rogerbinns/couchsize/\\ pushing to ssh://hg@bitbucket.org/rogerbinns/couchsize/\\ searching for changes\\ remote: adding changesets\\ remote: adding manifests\\ remote: adding file changes\\ remote: added 1 changesets with 1 changes to 1 files\\ remote: error: pretxnchangegroup.bb_perm hook failed: You're not allowed to write to this repository.\\ remote: transaction abort!\\ remote: rollback completed\\ remote: abort: You're not allowed to write to this repository.\\ abort: unexpected response: empty string\\ }}}