I've spent some time converting my SVN repository to Mercurial. I've setup Mercurial under IIS7 on Win 2008 R2.
I have nearly everything working. However I can not push changes back to server.
$ hg push
http authorization required
realm: pandora
user: rich
password:
pushing to https://pandora/dev/test
sea开发者_StackOverflow中文版rching for changes
abort: HTTP Error 500: .hg\store\00changelog.i: Access is denied
My hgweb.cgi looks like this:
[web]
baseurl = /hg
allow_push = *
[trusted]
users = *
Why doesn't this work?
Ok turns out this is a permission problem.
You need to ensure the location of the repository has gives the SERVER/User write permission. Once changed everything worked.
Try pushing to:
https://<username>:<password>@pandora/dev/test
精彩评论