In summary, users have write access to the warehouse directory
00changelog, Access is denied, HG, HTTP error $, mercurial, permissions, push
Mercurial HTTP Error 500:access is denied on 00changelog.ijanuary 13, 2011
Today I created a new Mercurial repository on a Windows server. I cloned it, made some changes, tried to push, and is greeted with this:
C:\myapplication>hg push
pushing to http://servername/myapplication
searching for changes
abort: HTTP Error 500: .hg\store0changelog.i: Access is denied
My user account had write permission to the MyApplication folder on the server, and the odd thing was that I ve CR Eated repositories there before and never had a problem pushing changes. I compared 00changelog.i to the same file in another repository that is working. Turns out I is using anonymous authentication and IUSR was missing write permission. I gave full control to IUSR on hg\store folder and ...
C:\myapplication>hg push
pushing to http://servername/myapplication
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 114 changes to 114 files
success!
If you ' re have problems pushing to a central server with Mercurial, make sure the IIS Anonymous Authentication A Ccount (IUSR or IUSR_machinename) you have write Permission to the Hg\store folder and subfolders in your repository.
Solution Mercurial HTTP Error 500:access is denied on 00CHANGELOG.I