Solution Mercurial HTTP Error 500:access is denied on 00CHANGELOG.I

Source: Internet
Author: User
Tags mercurial

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.