From b07ee8483346bff6d9f99c0d3419d6c809454a15 Mon Sep 17 00:00:00 2001 From: Nate DeSimone Date: Tue, 25 May 2021 15:21:46 -0700 Subject: [PATCH] EdkRepo: Clone fails if the manifest is not in CiIndex.xml EdkRepo clone fails if the manifest file specified does not exist in any of the the global manifest repositories. Signed-off-by: Nate DeSimone --- edkrepo/common/common_repo_functions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edkrepo/common/common_repo_functions.py b/edkrepo/common/common_repo_functions.py index 336661a..cb38207 100644 --- a/edkrepo/common/common_repo_functions.py +++ b/edkrepo/common/common_repo_functions.py @@ -139,6 +139,8 @@ def clone_repos(args, workspace_dir, repos_to_clone, project_client_side_hooks, global_manifest_directory = config['user_cfg_file'].manifest_repo_abs_path(src_manifest_repo) else: global_manifest_directory = None + else: + global_manifest_directory = None if global_manifest_directory: # Install git hooks if there is a manifest repo associated with the manifest being cloned install_hooks(project_client_side_hooks, local_repo_path, repo_to_clone, config, global_manifest_directory)