diff options
| author | Gavin Mak <gavinmak@google.com> | 2026-05-12 20:21:14 +0000 |
|---|---|---|
| committer | gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2026-05-14 13:19:55 -0700 |
| commit | 51021fb209b118e6ff4350016657ce5f020b1bc2 (patch) | |
| tree | f33f17dd35fab90bb1f83483efc5e0ab14faede1 /subcmds/start.py | |
| parent | d453273f0638f7090846a9f95e3cae578569a6c7 (diff) | |
| download | git-repo-51021fb209b118e6ff4350016657ce5f020b1bc2.tar.gz | |
abandon/start/info: Make them respect smart sync override
Call TryOverrideManifestWithSmartSync in start, abandon, and info
commands.
This ensures they pick up the pinned revisions from the smart sync
override manifest if it exists, rather than falling back to ToT from
the default manifest.
Bug: 279204331
Change-Id: I637f054a77773805daf0bf9cf5a712d82a5959b4
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/582503
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Diffstat (limited to 'subcmds/start.py')
| -rw-r--r-- | subcmds/start.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subcmds/start.py b/subcmds/start.py index 73dddf3f1..9882cf0d0 100644 --- a/subcmds/start.py +++ b/subcmds/start.py | |||
| @@ -104,6 +104,7 @@ revision specified in the manifest. | |||
| 104 | 104 | ||
| 105 | def Execute(self, opt, args): | 105 | def Execute(self, opt, args): |
| 106 | nb = args[0] | 106 | nb = args[0] |
| 107 | self.TryOverrideManifestWithSmartSync() | ||
| 107 | err_projects = [] | 108 | err_projects = [] |
| 108 | err = [] | 109 | err = [] |
| 109 | projects = [] | 110 | projects = [] |
