在MacOS中使用hg mercurial克隆存储库会出现中止错误:“abort:No such file or directory”

时间:2012-10-11 09:55:44

标签: macos mercurial

Apples-MacBook-Pro:IpadProject apple$ hg clone https://code.google.com/p/comicflow/
warning: code.google.com certificate with fingerprint 99:9b:2c:ac:bf:65:cc:74:61:df:ed:05:6d:f6:22:a9:d6:e1:ba:9f not verified (check hostfingerprints or web.cacerts config setting)
destination directory: comicflow
requesting all changes
adding changesets
adding manifests
adding file changes
added 23 changesets with 131 changes to 75 files
updating to branch default
warning: cooliris-toolkit.googlecode.com certificate with fingerprint 3c:e9:db:04:ed:73:73:f7:dd:cb:e0:20:ce:77:28:5d:a3:d2:32:3f not verified (check hostfingerprints or web.cacerts config setting)
cloning subrepo Cooliris-ToolKit from https://cooliris-toolkit.googlecode.com/hg/
requesting all changes
adding changesets
adding manifests
adding file changes
added 145 changesets with 631 changes to 381 files
abort: No such file or directory

3 个答案:

答案 0 :(得分:1)

检查您的全局配置文件中是否有一个实际上不存在的挂钩。

您可以通过运行来检查:

hg clone THEREPO -v --traceback  --debugger

将启动pdb,您可以从异常点进行调试。

reference

答案 1 :(得分:1)

此错误是因为Mac上未安装Git。

您需要同时安装Mercurial和Git来结帐ComicFlow源代码。

PS:我在这个问题的答案中添加了关于如何检查ComicFlow项目的说明: How to fix a Mercurial repo that fails updating because points to missing revision in subrepo?

答案 2 :(得分:0)

“无此类文件或目录”错误的另一个原因是文件路径超过255个字符。我不得不缩短一些目录名称以使其适用于我的情况。

相关问题