许翔 发表于 2021-12-29 14:28:58

【同步代码】 .repo/repo/repo -sync -l 出错求解

root@xuxiang-virtual-machine:/home/xuxiang/project/rk356x_linux_release_20211019# .repo/repo/repo sync -l
Traceback (most recent call last):
File "/home/xuxiang/project/rk356x_linux_release_20211019/.repo/repo/main.py", line 531, in <module>
    _Main(sys.argv)
File "/home/xuxiang/project/rk356x_linux_release_20211019/.repo/repo/main.py", line 507, in _Main
    result = repo._Run(argv) or 0
File "/home/xuxiang/project/rk356x_linux_release_20211019/.repo/repo/main.py", line 180, in _Run
    result = cmd.Execute(copts, cargs)
File "/home/xuxiang/project/rk356x_linux_release_20211019/.repo/repo/subcmds/sync.py", line 724, in Execute
    if mp.HasChanges:
File "/home/xuxiang/project/rk356x_linux_release_20211019/.repo/repo/project.py", line 2947, in HasChanges
    elif self._revlist(not_rev(HEAD), revid):
File "/home/xuxiang/project/rk356x_linux_release_20211019/.repo/repo/project.py", line 2501, in _revlist
    return self.work_git.rev_list(*a, **kw)
File "/home/xuxiang/project/rk356x_linux_release_20211019/.repo/repo/project.py", line 2700, in rev_list
    (self._project.name, str(args), p.stderr))
error.GitError: manifests rev-list ('^HEAD', u'9ba74086346fc78c0ebe7bfc4f24ec082f2ba132', '--'): fatal: 不是一个 git 仓库(或者任何父目录):.git

Liuth 发表于 2021-12-29 16:02:36

是否有搭建编译环境?
https://wiki.t-firefly.com/zh_CN/ROC-RK3568-PC/linux_compile_gpt.html#da-jian-bian-yi-huan-jing
页: [1]
查看完整版本: 【同步代码】 .repo/repo/repo -sync -l 出错求解