I'm trying to stop tortoiseHG from prompting me for credentials every time i do something. I can't seem to find out how to fix this. From what I've read you need to specify username and enable mercurial_keyring?
My mercurial.ini file
[ui]
username=myFirstName myLastName myFirstName.myLastName@somecompany.com
[auth]
servername.prefix = servername
servername.username = myFirstName myLastName myFirstName.myLastName@somecompany.com
servername.schemes = https://servername.somecompany.com/fogbugz/kiln
[extensions]
mercurial_keyring=
I have updated global settings; surely I do not need to add settings for every repository that I add?
mercurial.ini:
[auth]
servername.prefix = servername
servername.username = login
You should specify your login as username, not your Mercurial's display name.
UPD: The display name (specified in [ui]
section) is used when you commit changes. It's written into the changeset and becomes a part of history.
The name used for authentication (login) is specified in [auth]
section. This is what you have to type in (along with password) every time when keyring doesn't work properly.