[SOLVED] (was: auth in local hgrc file is not working for some bitbucket repos)

Uwe Brauer oub at mat.ucm.es
Thu Nov 15 16:58:10 UTC 2018


>>> "David" == David Demelier <markand at malikania.fr> writes:

   > Le 15/11/2018 à 00:04, Uwe Brauer a écrit :
   >> [auth]
   >> repo.prefix = https://user@bitbucket.org/user/repo

   > Please try without user@ and tell me if it works.


The correct setting is

[paths]
default = https://kalthad@bitbucket.org/kalthad/repo


Be care full with the prefix.
[auth]
repo.prefix = https://bitbucket.org/kalthad/repo
repo.username = kalthad
repo.password = mysecretpasswd


NOT

[paths]
default = https://kalthad@bitbucket.org/kalthad/repo


Be care full with the prefix.
[auth]
repo.prefix = https://kalthad@bitbucket.org/kalthad/repo
repo.username = kalthad
repo.password = mysecretpasswd


Sorry for the noise.

Uwe Brauer 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5025 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20181115/12d4643e/attachment.p7s>


More information about the Mercurial mailing list