Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.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_Repository - Fatal编程技术网

Mercurial-中止:无法锁定存储库

Mercurial-中止:无法锁定存储库,mercurial,repository,Mercurial,Repository,这是我第一次使用Mercurial,我有麻烦了 我使用了hg add*,现在我尝试使用hg com命令进行提交,但它返回了以下错误: Nathans-MacBook-Pro:biogene Nathan$ hg com -m "First time commit" abort: could not lock repository /Applications/MAMP/htdocs/merc/biogene: No such file or directory 有人能提供一些关于发生了什么的见解

这是我第一次使用Mercurial,我有麻烦了

我使用了hg add*,现在我尝试使用hg com命令进行提交,但它返回了以下错误:

Nathans-MacBook-Pro:biogene Nathan$ hg com -m "First time commit"
abort: could not lock repository /Applications/MAMP/htdocs/merc/biogene: No such file or directory

有人能提供一些关于发生了什么的见解吗?该目录确实存在,因为我当前在其中。

您是否先在此处创建了存储库

hg init

您是否首先在此处创建了存储库

hg init