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?
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 :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.