From 0e913dd3eee248bccf2b26161ca0a715d039e716 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 23 Feb 2024 16:35:34 +0100 Subject: just-mr setup archive: Local roots require the archive blob to be local too For archive repositories we need to ensure that a non-absent root is backed by an archive content blob in the local CAS, in order to also keep the proper root tree file associations. This change also simplifies the content_cas_map logic by removing the previous separation of implementation logic between fetching and setting up the workspace root. --- src/other_tools/just_mr/fetch.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/other_tools/just_mr/fetch.cpp') diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp index db2eedcd..a47b02cf 100644 --- a/src/other_tools/just_mr/fetch.cpp +++ b/src/other_tools/just_mr/fetch.cpp @@ -301,8 +301,7 @@ auto MultiRepoFetch(std::shared_ptr const& config, ? std::make_optional( repo_desc_sha512->String()) : std::nullopt, - .origin = repo_name, - .fetch_only = true}, + .origin = repo_name}, .repo_type = repo_type_str, .subdir = subdir.empty() ? "." : subdir.string(), .pragma_special = std::nullopt, // not used -- cgit v1.2.3