【问题标题】:Mercurial - abort: could not lock repositoryMercurial - 中止:无法锁定存储库
【发布时间】:2012-02-13 20:59:36
【问题描述】:

这是我第一次使用 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 repository


    【解决方案1】:

    您是否先在这里创建了存储库?

    hg init
    

    【讨论】:

      猜你喜欢
      • 2015-09-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-23
      相关资源
      最近更新 更多