Reset git_cache mirror when HEAD points to master
master->main branch migration left the cache in some builders to have its HEAD still pointing to refs/heads/master. This causes bot_update to fail. If in this state, delete the cache and force bootstrap. Bug: 1418866 Change-Id: Id716a013833d459ee37306d27b369099faf846ab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4310522 Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Reviewed-by: Fumitoshi Ukai <ukai@google.com>changes/22/4310522/7
parent
b4b22453f3
commit
6eccb0e24c
Loading…
Reference in New Issue