Incorrect user identification.

tstone2077 avatartstone2077 created an issue

I created a new Hg projected at home and used the username tstone to check in some changes. Later, I uploaded the repository to bitbucket. When doing so, I had to create a user account (tstone2077). When I uploaded, it says that bitbucket's user tstone had contributed to the project.

The example of this can be found at http://bitbucket.org/tstone2077/svnautomaticgatekeeper./ tstone (my pre-bitbucket account) created the first 3 revisions.

Comments (4)

  1. Asaf Yishai

    I have a similar problem. Me and a friend have a private repository, the friend uploaded a change but it looks like the change was written by someone else, that have no permission to our repository !

  2. Fabian Büchler

    I found, that if you specify your bitbucket username as the username in your local respository's .hg/hgrc file in the [ui] section, and then push your changes to bitbucket, the username will be displayed correctly.

    in /home/you/repository/.hg/hgrc add:

    [ui]
    username = YOUR_BITBUCKET_USERNAME
    
  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.