Mercurial push, abort: authorization failed.
Isaac Jurado
diptongo at gmail.com
Thu Jun 4 17:31:15 CDT 2009
> [...]
>
> 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.
Cheers.
--
Isaac Jurado
http://www.krenel.net
"The noblest pleasure is the joy of understanding."
Leonardo da Vinci
More information about the Mercurial
mailing list