What to do about curl clone.bundle error on AOSP repo sync

后端 未结 1 1458
闹比i
闹比i 2021-02-05 01:38

Upon downloading the master branch from AOSP I get the following error:

curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.         


        
相关标签:
1条回答
  • 2021-02-05 02:16

    Repo attempts to download a prepackaged bundle file to bootstrap each git prior to downloading the most recent data via Git's HTTP protocol. The latter is more expensive on the server side and results in worse performance so the bundle file allows the download to cut some corners. 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.

    In newer versions of repo, this can be ignored using the --no-clone-bundle option, such as:

    repo sync --no-clone-bundle
    
    0 讨论(0)
提交回复
热议问题