Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/18.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
允许推入Mercurial存储库时出现问题_Mercurial - Fatal编程技术网

允许推入Mercurial存储库时出现问题

允许推入Mercurial存储库时出现问题,mercurial,Mercurial,我有一份回购协议,我很难推动。。。我已经按照指示做了 我的回购包含一个hgrc /repo/.hg/hgrc hgwebdir.config 当我尝试推送时,仍然得到中止:无法锁定静态http存储库 看起来与许多其他帖子类似,但看看第7部分是否对您没有帮助。是的,exactl duplicate。简单的回答是:您正在使用hgweb为您的回购服务。您需要这样做才能启用推送,并实现相当快的克隆/拉取操作。按照@jgritty的答案中的链接进行操作。我首先使用了该指南来设置它。你是说hgwebdir只

我有一份回购协议,我很难推动。。。我已经按照指示做了

我的回购包含一个hgrc

/repo/.hg/hgrc

hgwebdir.config

当我尝试推送时,仍然得到中止:无法锁定静态http存储库


看起来与许多其他帖子类似,但看看第7部分是否对您没有帮助。

是的,exactl duplicate。简单的回答是:您正在使用hgweb为您的回购服务。您需要这样做才能启用推送,并实现相当快的克隆/拉取操作。按照@jgritty的答案中的链接进行操作。我首先使用了该指南来设置它。你是说hgwebdir只允许回购协议可以浏览,但推/拉至回购协议仍然需要hgweb?
[web]
push_ssl = false
[paths]
/ = /path/to/folder/*  

[web]
baseurl = /

push_ssl = false

allow_archive = zip