Issue #7249 invalid

My commits showing up as another user on the Commits stream

George Mauer
created an issue

Here is what my project overview looks like:

Project overview shows the correct user

The above is correct.

Here is what my commits page looks like: Commits stream shows the wrong user

Note that these are the same exact commits but its showing different users!

owhudson is a read-only account I created months ago to use with our ci server. I commit everything and am currently logged in as Geore Mauer

Comments (3)

  1. Brodie Rao staff

    Hi George,

    It looks like the email address in your ~/.hgrc config is registered with owhudson. That's why Bitbucket's associating those commits with that user.

    If you set up a different email address for owhudson and add the one you committed with to your normal account, the commit history page should say you authored those commits (it may take up to an hour for the changes to be reflected). You might also consider updating your ~/.hgrc file to use the email address currently registered to your normal account.

    To explain why the activity feed shows something different: it shows who pushed up the changes. It knows exactly who did it based on HTTP/SSH authentication. On the other hand, the commit history page shows who authored the commits. Bitbucket looks at the email address in the commit and looks for a user on Bitbucket who's registered with that address.

    I hope that clears things up. If you have any other questions, let me know. Thanks!

  2. Log in to comment