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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

194 views 18 7
Join discussion

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