[PATCH] allow http authentication information to be specified in the configuration

Marti Raudsepp marti at juffo.org
Mon Apr 6 14:44:47 CDT 2009


> +        userpw = bestauth.split(':')
> +        if len(userpw) == 1:
> +            return userpw[0], None
> +        return userpw
...
> +    if not user:
> +        user, passwd = _readauthtoken(ui, url)

Note that your code breaks of there are


More information about the Mercurial-devel mailing list