gclient can't sync to refs/changes/* when git mirror is configured. |
|
Issue descriptionWhen a git mirror is configured, it fetches only refs/heads/*, and possibly branch-heads and tags, but not refs/changes. So, when gclient attempts to sync refs/changes/* from the master, it fails, since the master has no such objects. See for example [1], where the DEPS entry for builtools was modified to sync to a CL, but all the bots failed to sync to it. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1119098/6
,
Jul 12
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3789a4a02293b9ded7d922cfc47462e25d7bc20d commit 3789a4a02293b9ded7d922cfc47462e25d7bc20d Author: depot-tools-chromium-autoroll <depot-tools-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Date: Thu Jul 12 00:29:12 2018 Roll src/third_party/depot_tools c3975e55e146..d64781e17af7 (1 commits) https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/c3975e55e146..d64781e17af7 git log c3975e55e146..d64781e17af7 --date=short --no-merges --format='%ad %ae %s' 2018-07-11 ehmaldonado@chromium.org gclient_scm: Fetch refs/changes/* when syncing. Created with: gclient setdep -r src/third_party/depot_tools@d64781e17af7 The AutoRoll server is located here: https://depot-tools-chromium-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. BUG=chromium:858894 TBR=agable@chromium.org Change-Id: If022f0d17cbb6ad978d73fb45f85215dfca5033e Reviewed-on: https://chromium-review.googlesource.com/1134447 Reviewed-by: depot-tools-chromium-autoroll <depot-tools-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Commit-Queue: depot-tools-chromium-autoroll <depot-tools-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#574428} [modify] https://crrev.com/3789a4a02293b9ded7d922cfc47462e25d7bc20d/DEPS |
|
►
Sign in to add a comment |
|
Comment 1 by bugdroid1@chromium.org
, Jul 11