acl.allow not working in mercurial

Posted by sagar on Stack Overflow See other posts from Stack Overflow or by sagar
Published on 2011-03-01T07:07:39Z Indexed on 2011/03/01 7:25 UTC
Read the original article Hit count: 221

Filed under:
|

When I am trying to apply some authentication in .hg/hgrc file on Ubuntu machine its not working.

I have added below code to hgrc file on Ubuntu

[web]

allow_push=*

allow_read=*

push_ssl =false

[hooks]

pretxnchangegroup.acl=python:hgext.acl.hook

[acl.allow]

/home/test/testrepository/*=myid

When I am pushing some data from my Windows repository to testrepository on Ubuntu giving below message

pushing to http://ubantuip:8000

searching for changes

remote: adding changesets

remote: adding manifests

remote: adding file changes

remote: added 1 changesets with 1 changes to 1 files

remote: error: pretxnchangegroup.acl hook failed: acl: access denied for changes
et 69f00e372c67

remote: transaction abort!

remote: rollback completed

remote: abort: acl: access denied for changeset 69f00e372c67

why I am not able to push the changes?

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about acl