mercurialtortoisehgmercurial-keyring

TortoiseHg 3.6.3 broke mercurial keyring?


I upgraded to Tortoise 3.6.3 yesterday and now I am prompted every time I pull or push a repo. The keyring is set properly, and my user name is in the url.

Any ideas on what may be wrong? Did 3.6.3 break keyring?


Solution

  • Issue 4401 "mercurial_keyring always asks for user/password" from time of 3.6.2 closed as pure extension-specific and contains solution: don't use username in URL anymore

    Here is what to put into .hg/hgrc:

    [auth]
    default.username=myname
    default.prefix=http://myrepo
    

    A good way to debug issues like this is to run merciural from the command line with the debug flag, as in:

    hg pull --debug
    

    This will clearly indicate if there are problems getting the repo, user name, and password.