我的目录:f:\\Development\\chromium

拉取成功:f:\\Development\\chromium\\src

开始拉取(cd 某盘:\chromium\)

    fetch --nohooks chromium

如果中途中断执行:

    gclient sync --nohooks --with_branch_heads --jobs 16

拉取完全成功会提示:

    Syncing projects: 100% (xxx/xxx), done.
    Running: git submodule foreach 'git config -f $toplevel/.git/config submodule.$name.ignore all'
    Running: git config --add remote.origin.fetch '+refs/tags/*:refs/tags/*'
    Running: git config diff.ignoreSubmodules all

拉取成功执行 - 获得所有发布tags信息
查看

    git show-ref --tags

获取

    git fetch --tags

开始拉取(依次执行)

    git checkout -b chromium_release_branch 87.0.4280.88
    gclient sync --with_branch_heads --with_tags --no_auth --jobs 16 -D

如果报错,请注意是否有(SET DEPOT_TOOLS_WIN_TOOLCHAIN=0)排除问题后继续执行

    gclient sync --with_branch_heads --with_tags --no_auth --jobs 16 -D

资料仅供参考,一切情况还要以你的环境为准,尽可能在虚拟机全新系统中进行。

所有版本:https://chromiumdash.appspot.com/releases
参考资料:https://www.chromium.org/developers/how-tos/get-the-code/working-with-release-branches

标签: none

添加新评论