auth in local hgrc file is not working for some bitbucket repos

Uwe Brauer oub at mat.ucm.es
Wed Nov 14 23:15:34 UTC 2018


>>> "Uwe" == Uwe Brauer <oub at mat.ucm.es> writes:

   > Hi

   > For most of my bitbucket repos the following setting works

   > [auth]
   > repo.prefix = https://user@bitbucket.org/user/repo
   > repo.username = user
   > repo.password = secretpasswd


   > But for a particular one, mercurial keeps asking me the password, which
   > is annoying, how can I debug this?

hg out --debug shows

hg out --debug
all_dirs: _parse called with args ['out', '--debug']
all_dirs: _parse found another command outgoing
comparing with https://kalthad@bitbucket.org/kalthad/repo
using https://bitbucket.org/kalthad/repo
http auth: user kalthad, password not set
sending capabilities command
http authorization required for https://bitbucket.org/kalthad/contflowmap-einstein
realm: Bitbucket.org HTTP
user: kalthad
password


But the password *is* set.

What is wrong there?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4393 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20181115/79d3c412/attachment.p7s>


More information about the Mercurial mailing list