Skip to content

Commit 37bca0d

Browse files
authored
update_checkout: fix scheme_map not reloaded (#62054)
A one line follow-up fix for #62004. We re-read the config, but didn't check out correct branches after that, because `scheme_map` dictionary was loaded from the old config.
1 parent d54555b commit 37bca0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/update_checkout/update_checkout/update_checkout.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,7 @@ def main():
717717
with open(args.config) as f:
718718
config = json.load(f)
719719
validate_config(config)
720+
scheme_map = get_scheme_map(config, scheme_name)
720721

721722
if args.dump_hashes:
722723
dump_repo_hashes(args, config)

0 commit comments

Comments
 (0)