diff options
author | Gavin Mak <gavinmak@google.com> | 2025-06-17 12:06:03 -0700 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2025-06-17 13:31:02 -0700 |
commit | f91f4462e6365b5545b39be597dab23619b8d291 (patch) | |
tree | 560339e729ec8e99781934888ad80e2059413e2c /tests | |
parent | 85352825ff3903fe17bad05476284930dbf12fd8 (diff) | |
download | git-repo-f91f4462e6365b5545b39be597dab23619b8d291.tar.gz |
upload: fix FileNotFoundError when no superproject
Upload gets a FileNotFoundError if not using superproject because it
tries to access the superproject's repo_id before checking if
superproject was actually enabled.
Reorder the logic to check use_superproject first.
Change-Id: I65cd2adab481e799dd7bb75e1a83553ad6e34d8d
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/484401
Tested-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions