repo sync警告

参考:
https://blog.csdn.net/QQ2010899751/article/details/81347599

在合并几个oh的repo库后,repo sync

repo sync时报出的警告:

Fetching:  0% (0/465) 0:00 | ..working..Invalid clone.bundle file; ignoring.
Fetching:  0% (0/465) 0:01 | ..working..Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Fetching:  0% (1/465) 0:05 | 4 jobs | 0:04 build_YY3568 @ build_YY3568Invalid clone.bundle file; ignoring.
Fetching:  0% (2/465) 0:15 | 4 jobs | 0:15 board_YY3568 @ device/board/youyeetoo/YY3568Invalid clone.bundle file; ignoring.
Fetching:  0% (3/465) 1:30 | 4 jobs | 1:30 board_YY3568 @ device/board/youyeetoo/YY3568Invalid clone.bundle file; ignoring.
Fetching:  0% (4/465) 1:54 | 4 jobs | 1:54 board_YY3568 @ device/board/youyeetoo/YY3568Invalid clone.bundle file; ignoring.
Fetching:  1% (5/465) 1:57 | 4 jobs | 1:57 board_YY3568 @ device/board/youyeetoo/YY3568Invalid clone.bundle file; ignoring.
Fetching:  2% (11/465) 11:54 | 4 jobs | 11:54 board_YY3568 @ device/board/youyeetoo/YY3568Invalid clone.bundle file; ignoring

为什么会出现此种log ?

       在通过Git的HTTP协议下载最新数据之前,Repo尝试下载预先打包的捆绑文件以引导每个git。

      原文:Repo attempts to download a prepackaged bundle file to bootstrap each git prior to downloading the most recent data via Git's HTTP protocol.

      如果捆绑文件不可用(如本例所示),Repo将忽略它并继续进行。换句话说,不要注意这一点。

      原文:If a bundle file isn't available (like in this case), Repo will ignore it and proceed anyway. In other words, don't pay any attention to this.

最后,如何取消download clone.bundle ?

      只需要在repo添加一个参数 --no-clone-bundle,如下
$ repo init --no-clone-bundle
$ repo sync --no-clone-bundle
posted @   南渡北归  阅读(3)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
点击右上角即可分享
微信分享提示