acl.allow not working in mercurial
- by sagar
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?