知了博客

集天地之精华,吸日月之灵气

« ubuntu android 2.2 编译,安装jdk1.5射频卡工作原理 »

android2.2 源码获取错误:error.GitError: platform/cts rev-list

pos@ubuntu:~/a2t$ repo sync

Fetching projects: 100% (158/158), done. 
Traceback (most recent call last):
  File "/home/pos/a2t/.repo/repo/main.py", line 385, in <module>
    _Main(sys.argv[1:])
  File "/home/pos/a2t/.repo/repo/main.py", line 365, in _Main
    result = repo._Run(argv) or 0
  File "/home/pos/a2t/.repo/repo/main.py", line 137, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/pos/a2t/.repo/repo/subcmds/sync.py", line 466, in Execute
    project.Sync_LocalHalf(syncbuf)
  File "/home/pos/a2t/.repo/repo/project.py", line 1007, in Sync_LocalHalf
    lost = self._revlist(not_rev(revid), HEAD)
  File "/home/pos/a2t/.repo/repo/project.py", line 1785, in _revlist
    return self.work_git.rev_list(*a, **kw)
  File "/home/pos/a2t/.repo/repo/project.py", line 1930, in rev_list
    p.stderr))
error.GitError: platform/cts rev-list ('^df72a2789b1a594fb5154c4ae1fb204f4b26c8c0', 'HEAD', '--'): fatal: Not a git repository (or any of the parent directories): .git

 

出现上面的错误,由于之前下载的部分android源码,没有删除。

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Arwen Build 90619 Code detection by Codefense  theme by BokeZhuti

Copyright know blog. Some Rights Reserved.站长(msn):webmaster#webgou.info(#换成@) 粤ICP备09183716号