Mercurial push, abort: authorization failed Mercurial push, abort: authorization failed apache apache

Mercurial push, abort: authorization failed


If anybody wants to make it run on local machine thenadding this to server REPO/.hg/hgrc will do the work:

[web]allow_push = *push_ssl = false

as described at this site.


Problem turned out to be repo dir permissions. chown www-data solved it...


For those with TortoiseHg pushing to a web server (another unauthorized user on another PC):

In TortoiseHg: File - Settings - (Either globally or just for the current repository - tabs) then the Server settings.Web Server

Push Requires SSL - NoAllow Push - *

This does the same thing through the UI as lukmdo's answer above (editing the hgrc file).