[PATCH] allow http authentication information to be specified in the configuration
Dirkjan Ochtman
dirkjan at ochtman.nl
Fri Apr 24 02:26:12 CDT 2009
On Thu, Apr 23, 2009 at 19:41, Marti Raudsepp <marti at juffo.org> wrote:
> Is there a good reason why you changed the old configuration format?
> uri prefix = username:password
>
> I liked it much better because it's simpler; I think you're much more
> likely to remember it if you use it a few times a year.
>
> If it's because you wanted to support URI schemes then how about
> making the scheme optional?
>
> [scheme://]uri prefix = username:password
In general, config file keys should be kept quite simple in order not
to violate the principle of least surprise.
What if someone puts their repo at http://example.org/repos/?organization=myorg?
Cheers,
Dirkjan
More information about the Mercurial-devel
mailing list