Sourcetree with Mercurial (Mac) auth problems. Can't push.

We have a Mercurial repository on kiln and I am able to see all the revisions in Sourcetree. However I am unable to push files. I keep getting:

ignoring invalid [auth] key 'username'

ignoring invalid [auth] key 'password'

Here is what I've tried. No matter what I do, I can not get these errors cleared and can't push files.

  • I have gone through all the settings but can't figure out what's going on. My keychain app doesn't have an entry for Sourcetree, but it does for kiln. Also I've included my username in the URL.
  • In the Sourcetree bookmarks settings, I edited the entries to include the password.
  • I had previously been using TortoiseHG for Mac and did not have those extensions checked. Tried checking them but no difference either way.
  • I deleted the keys from and was hopeful when Sourcetree then prompted me for username and password - and I had it re-save to the keychain. However still get errors when trying to push.

What am I missing?

1 answer

Sorry, figured it out. I hadn't scrolled down to see the rest of the error. There was a problem with a remote head and I hadn't merged. Once I did that I was able to push.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

77 views 0 11
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