Mercurial push, abort: authorization failed.
Pat Downey
pat.downey at gmail.com
Fri Jun 5 10:41:48 CDT 2009
You might also want to check that the repositories in question are writable
by the user running apache.
2009/6/5 Ted Pavlic <ted at tedpavlic.com>
> > I'm having problems with pushing to mercurial repository:
> > abort: authorization failed
>
> IIRC, in the past, "hg push" sometimes has problems when the web server
> can't find all of its error documents. In particular, when it looks for
> the error document for a 401 error, it generates an additional 404
> error, and that confuses hg push.
>
> Make sure all of your ErrorDocuments exist. For example, you might put...
>
> ErrorDocument 401 401.html
> ErrorDocument 403 403.html
> ErrorDocument 404 404.html
>
> in your .htaccess and then populate those files with appropriate content
> (one method for doing that is copying a "view source" of the standard
> message displayed when one of them gets issued). For testing, just
> creating them should suffice.
>
> --Ted
>
> --
> Ted Pavlic <ted at tedpavlic.com>
>
> Please visit my 2009 d'Feet ALS walk page:
> http://web.alsa.org/goto/tedp
> My family appreciates your support in the fight to defeat ALS.
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090605/f8273cfc/attachment.htm
More information about the Mercurial
mailing list