提前抱歉我的英语不好......
我正在尝试在 Ubuntu 上使用 Eclipse 克隆一个 hg 存储库。
当我执行“hg clone”命令时,我总是收到以下错误消息:
"Operation not permitted: <workspace_folder>/<project_name>/.hg/requires"
这是 /.hg 内容:
ls -al .hg/
total 40K
drwxrwxr-x 4 www-data web 4.0K Apr 18 09:33 .
drwxrwxr-x 3 www-data svn 4.0K Mar 5 17:52 ..
-rwxrwxr-x 1 www-data web 57 Mar 5 17:48 00changelog.i
drwxrwxr-x 2 www-data web 4.0K Apr 18 09:33 cache
-rwxrwxr-x 1 www-data web 40 Mar 5 17:51 dirstate
-rwxrwxrwx 1 www-data web 40 Apr 18 21:45 requires
drwxrwxr-x 3 www-data web 4.0K Apr 18 09:33 store
-rw-rw-r-- 1 nico web 0 Apr 18 09:33 undo.bookmarks
-rw-rw-r-- 1 nico web 7 Apr 18 09:33 undo.branch
-rw-rw-r-- 1 nico web 38 Apr 18 09:33 undo.desc
-rw-rw-r-- 1 nico web 40 Apr 18 09:33 undo.dirstate
这是 /.hg/requires 文件内容:
revlogv1
store
fncache
dotencode
这是 hg clone 命令的输出:
running ssh nico@www.there.com "hg -R /var/dev/projects/my_hg_project serve --stdio"
sending hello command
sending between command
nico@www.there.com's password:
remote: 145
remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
remote: 1
destination directory: my_hg_project
abandon : Operation not permitted : /media/data/workspaces/my_workspace/my_hg_project/.hg/requires
我尝试了很多东西,例如 chmod 和 chown ......我不是 linux 专家,所以我用谷歌搜索了我的错误消息,但结果并不多。有人对此有任何想法吗?
非常感谢您提前