用tag點下載代碼時出錯

來源:互聯網
上載者:User

From ssh://rnd-hap.huawei.com:29418/platform/packages/apps/Nfc
 * [new branch]      caf/jb_3.2.1_rb1.10 -> origin/caf/jb_3.2.1_rb1.10
   0b197ef..9400040  hw/platform/jellybean/4.2.2_r1/hap_common -> origin/hw/platform/jellybean/4.2.2_r1/hap_common
Traceback (most recent call last):
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/main.py", line 384, in <module>
    _Main(sys.argv[1:])
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/main.py", line 364, in _Main
    result = repo._Run(argv) or 0
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/main.py", line 136, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/subcmds/sync.py", line 449, in Execute
    fetched = self._Fetch(to_fetch, opt)
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/subcmds/sync.py", line 234, in _Fetch
    clone_bundle=not opt.no_clone_bundle):
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/project.py", line 966, in Sync_NetworkHalf
    self._InitMRef()
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/project.py", line 1717, in _InitMRef
    self._InitAnyMRef(R_M + self.manifest.branch)
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/project.py", line 1729, in _InitAnyMRef
    self.bare_git.UpdateRef(ref, dst, message = msg, detach = True)
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/project.py", line 1903, in UpdateRef
    self.update_ref(*cmdv)
  File "/home/wangzhiyong/01_DailyBuild/EDGE-EMUI2.0-Daily/androidcode/.repo/repo/project.py", line 1964, in runner
    p.stderr))
error.GitError: platform/packages/apps/Nfc update-ref: fatal:
02e5445f697942847d2f53d17da776d01c2f4136^0: not a valid SHA1

 

 

這種情況是怎麼產生的,是由於之前的那個tag點的commitID有問題?還是那個倉的代碼沒有push上去

我自己只有在manifest中把那個倉的commitID刪除後才能正常的sync,求高手解答,謝謝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.