[英]How do I use hg push in Mercurial
我花了一些时间将我的SVN存储库转换为Mercurial。 我在Win 2008 R2上的IIS7下设置了Mercurial。
我几乎一切都在工作。 但是,我不能将更改推回到服务器。
$ 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
我的hgweb.cgi看起来像这样:
[web]
baseurl = /hg
allow_push = *
[trusted]
users = *
谁能告诉我为什么这不起作用?
干杯里奇
好的结果证明这是一个权限问题。
您需要确保存储库的位置具有SERVER / User写入权限。 一旦改变一切正常。
尝试推送到:
https://<username>:<password>@pandora/dev/test
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.