|
【Linux】
LINUX-SDK 同步失败
发表于 2020-4-14 11:11:51
浏览:6428
|
回复:1
打印
只看该作者
[复制链接]
楼主
通过下载源码包的方式同步代码,同步失败
root@a247c0972668:/home/test# repo sync
warn: .repo/manifests: Not replacing locally modified pre-auto-gc hook
warn: .repo/manifests: Not replacing locally modified commit-msg hook
Traceback (most recent call last):
File "/home/test/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/test/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/test/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/test/.repo/repo/subcmds/sync.py", line 724, in Execute
if mp.HasChanges:
File "/home/test/.repo/repo/project.py", line 2947, in HasChanges
elif self._revlist(not_rev(HEAD), revid):
File "/home/test/.repo/repo/project.py", line 2501, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/test/.repo/repo/project.py", line 2700, in rev_list
(self._project.name, str(args), p.stderr))
error.GitError: manifests rev-list ('^HEAD', u'e0505deba0a388790f1a51a93a173120d0c6b5c4', '--'): fatal: Not a git repository (or any of the parent directories): .git |
|