Failing to show incoming changes on pull request (abort: authorization failed)

With my current repository configuration, I can push changes to my Bitbucket repository just fine. Userid and password is specified for "default" in my repository settings.

However, when I try to pull, "Incoming changes" result in "abort: authorization failed".

If I expand "Advanced" and select "Branch: default" my pull request completes succesfully!

But I can't see incoming changes.... how come?

1 answer

1 accepted

Are you embedding the username AND password in your remote URL? If so, you shouldn't do that, it's very insecure (SourceTree stops you doing it in fact, at least if you created the remote in SourceTree). It's possible that during a deconstruction / reconstruction of the URL that's gone wrong somewhere - it should strictly work, and I'll check that, but it's still very strongly advisable not to include the password in plain text.

If you omit the password (leave the username@ in though), SourceTree will prompt you for it and offer to store it in your keychain for future use, which is vastly more secure.

Right! I had specified <username>:<password> in my .hgrc file. Leaving out :<password> and letting SourceTree store my password in the Keychain fixed my issue :-)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

798 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you