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
Community showcase
Posted yesterday in Canada

Happy New Year - First AUG of the year - great success

Hi Everyone, Hope everyone had a great holiday season and is ready for an exciting 2019.  We had our first AUG last night featuring Tempo Timesheets.  A great presentation and lots of int...

17 views 0 1
View post

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