Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 如何在Mercurial中使用hg push_Windows_Mercurial_Commit_Hgweb - Fatal编程技术网

Windows 如何在Mercurial中使用hg push

Windows 如何在Mercurial中使用hg push,windows,mercurial,commit,hgweb,Windows,Mercurial,Commit,Hgweb,我花了一些时间将我的SVN存储库转换为Mercurial。我在Win2008R2上设置了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\st

我花了一些时间将我的SVN存储库转换为Mercurial。我在Win2008R2上设置了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 = *
有人能告诉我为什么这不起作用吗

干杯 Rich

尝试推送到:

https://<username>:<password>@pandora/dev/test
https://:@pandora/dev/test

确定这是一个权限问题


您需要确保存储库的位置已授予服务器/用户写权限。一旦更改,一切正常。

这会导致“中止:HTTP错误404:未找到”看起来可能是IIS权限错误。知道什么类型的权限吗?