Mercurial push, abort: authorization failed.
Piotr Byzia
piotr.byzia at gmail.com
Thu Jun 4 17:34:52 CDT 2009
On 4 Jun 2009, at 23:31, Isaac Jurado wrote:
>> [...]
>>
>> Pulling (through HTTP) works fine.
>>
>> I'm using hgwebdir to serve my repo.
>>
>> What else should I check?
>
> Probably the hgrc man page:
>
> web
> Web interface configuration.
>
> allow_push
> Whether to allow pushing to the repository. If empty or not
> set,
> push is not allowed. If the special value "*", any remote user
> can push, including unauthenticated users. Otherwise, the
> remote
> user must have been authenticated, and the authenticated user
> name must be present in this list (separated by whitespace or
> ","). The contents of the allow_push list are examined after
> the
> deny_push list.
>
> That would be:
>
> [web]
> allow_push = userA, userB, userC
>
> That normally goes into the repository's .hg/hgrc file.
Thanks for your response, Isaac.
However, I tried this already, the situation I described previously is
with allow_push = * (I also tried single user, no luck).
Piotr
More information about the Mercurial
mailing list