To have TortoiseHg save your password, activate the "Keyring" extension:
  • Open the file %USERPROFILE%\mercurial.ini and add the following configuration text (if you already have an extensions section, only add the second line to it):
[extensions]
mercurial_keyring=
  • Open the repository settings (Explorer/Right click on the repository folder/Visual Hg/Repository Settings) and click "Edit File". Add the following configuration text, replacing "<Username>" with your CodePlex user name (assuming your paths section has Codeplex as the "default =" path):
[auth]
default.schemes = https
default.prefix = hg01.codeplex.com/godfather
default.username = <Username>

(Maybe a future version of TortoiseHg will ger a UI for this...)

Then, the next push should only ask you for your password, not for the user name. The password is encrypted and stored in the Windows credentials subsystem. The second next push should not ask again.

Details: http://tortoisehg.bitbucket.org/manual/1.0/extensions.html.

Last edited Oct 13, 2011 at 7:57 AM by FabianSchmied, version 2

Comments

No comments yet.