[issue2359] prefix=* int [auth]-section not working

eraserix bugs at mercurial.selenic.com
Thu Sep 2 09:19:57 UTC 2010


New submission from eraserix <eraserix at gmail.com>:

The implementation or documentation of [auth] section in hgrc seems to be
inaccurate (http://www.selenic.com/mercurial/hgrc.5.html#auth).

This works:
[auth]
foo.prefix=http://hg.company.org
foo.username=USER
foo.password=PASS

Those don't, but should as far as I understand the documentation:
[auth]
bar.prefix=*
bar.username=USER
bar.username=PASS

[auth]
foobar.prefix=hg.company.org
foobar.username=USER
foobar.password=PASS

However, if you add a 'schemes' entry to bar or foobar, the section work as
expected. One could argue about foobar, but I'd expect bar to use the given
User/Password for just about every repository hg accesses.

----------
messages: 13556
nosy: eraserix
priority: bug
status: unread
title: prefix=* int [auth]-section not working

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2359>
____________________________________________________


More information about the Mercurial-devel mailing list