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
searching 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 = *
Can anyone tell me why this doesn't work?
Cheers Rich
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.
尝试推送到:
https://<username>:<password>@pandora/dev/test
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.