Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sourcetree constantly asks for authenticate with Mercurial (Kiln)?

I'm running Lion latest with SourceTree.

I tried to connect to a Fogbugz Kiln reponsitory, which succeeded, but whenever I PUSH or PULL Sourcetree consistently asks me for a username and password despite I saved it to my KeyChain. Anyone have any insight to this issue?

like image 238
kidcapital Avatar asked Jan 31 '12 23:01

kidcapital


People also ask

How do I fix Authentication error in SourceTree?

Ensure you are using an app password and that it is also correct (ensure there is no copy and paste error when copying the app password over to Sourcetree for Windows). Ensure Preferred Protocol is set to HTTPS. Hit Refresh Password. Make sure the page shows Authentication OK with the green checkmark, then hit OK.

How do I disable Mercurial in SourceTree?

There is no mechanism in the app to uninstall Mercurial, but you can close Sourcetree and then delete %localappdata%/Atlassian/Sourcetree/hg_local folder.

How do I authenticate in SourceTree?

Navigate to C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree and delete (or rename) the file named passwd. Restart SourceTree and execute a command (e.g. Pull, Push, etc..) that requires authentication. SourceTree will then prompt you for your password, rewriting the cached credentials. Show activity on this post.


2 Answers

This helped me solve this issue in a mac:

  1. Open the Hosted Repositories window by clicking View > Show Hosted Repositories or Command + Shift + H.
  2. Click Edit Accounts
  3. Double-click on your account
  4. Click Set Password
like image 147
germangti Avatar answered Oct 20 '22 00:10

germangti


I had the same and I fixed it using the system git instead of the embedded one:

Settings -> git -> Use System git

like image 22
Joan P.S Avatar answered Oct 19 '22 23:10

Joan P.S