Rolando
Rolando

Reputation: 762

Problems trying save tortoiseHg credentials

Some days I go while i was learning about mercurial and TortoiseHG i made a mistake and now i have problems to save my credentials, I tried change the next files with no good results: -C:\Users\userA\mercurial.ini

[ui]
[email protected]
password=xxxxxx

-C:\Users\userA\Mercurial-kiln.ini

[auth]
kiln.prefix=theurl
[email protected]
kiln.username=xxxxxx

Thank you for your help!!

Upvotes: 0

Views: 325

Answers (1)

Lazy Badger
Lazy Badger

Reputation: 97285

  • ui section on global ini-file (mercurial.ini) is only your signature in commits, if not redefined later
  • auth section define authorization-data on some resource only
  • ui in hgrc redifine on per-repo basis data from p.1

ui-data in your case is bad - you have to use username key with value Fname LName <e-mail>, i.e

username = Firstname Lastname <[email protected]>

and forget about any password here

auth-section is also far from perfect

  • you redefine kiln.username instead of extending
  • no password (?)

Upvotes: 1

Related Questions