summaryrefslogtreecommitdiffstats
path: root/tests/test_repo_trace.py
diff options
context:
space:
mode:
authorGavin Mak <gavinmak@google.com>2025-06-23 09:04:26 -0700
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2025-06-23 09:12:41 -0700
commitf7a3f99dc9e92556f3a0c588633b651439b5f7db (patch)
tree0fee33f4ed9245051266209a66ea972fc1164892 /tests/test_repo_trace.py
parent6b8e9fc8db47a29dbb288cb2109a78e2518e616a (diff)
downloadgit-repo-f7a3f99dc9e92556f3a0c588633b651439b5f7db.tar.gz
sync: Share self-update logic between sync modes
The logic for checking for repo self-updates lives in _FetchMain, which is part of the "phased" sync path. Extract this logic into a new _UpdateRepoProject helper method. Call this common helper from _ExecuteHelper before either sync mode begins, so the repo self-update check is always performed. Bug: 421935613 Change-Id: I9a804f43fbf6239c4146be446040be531f12fc8a Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/484041 Reviewed-by: Scott Lee <ddoman@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com> Tested-by: Gavin Mak <gavinmak@google.com>
Diffstat (limited to 'tests/test_repo_trace.py')
0 files changed, 0 insertions, 0 deletions