Mercurial push, abort: authorization failed.
Ted Pavlic
ted at tedpavlic.com
Fri Jun 5 07:25:19 CDT 2009
> 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.
More information about the Mercurial
mailing list