create repository
in your home .hgrc config, have a different username than the bitbucket username (i.e. your firstname)
commit in your repository
in the logs, another user is shown than you that has commit the work
quickfix put the bitbucket username in the repository/.hg/hgrc file