[auth] and google code

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Jan 19 03:43:37 CST 2010


On Tue, Jan 19, 2010 at 10:28, Mathieu Lacage
<mathieu.lacage at sophia.inria.fr> wrote:
> I would like to configure my local mercurial install to use a specific
> username+password for authentication with the google code servers. I
> tried this:
> [auth]
> goocode.prefix=googlecode.com/hg/
> goocode.user=mathieu.lacage
> goocode.password=XXXX
>
> But, of course, this does not appear to work very well because all the
> google code repository urls are structured like this:
> https://subproject.project.googlecode.com/hg/
>
> I tried to find an auth.suffix option but failed to come up with a
> working solution. Other ideas to save me from having to configure n
> [auth] sections for my n repositories ?

This has come up before. I think a solution was raised in the form of
allowing * in prefixes, but I'm not sure whether there was consensus,
if there was a patch, and if there was a patch, when it was committed.

Someone else may well know more, though!

Cheers,

Dirkjan


More information about the Mercurial mailing list