diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-02-23 16:35:34 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-02-27 14:35:44 +0100 |
commit | 0e913dd3eee248bccf2b26161ca0a715d039e716 (patch) | |
tree | 3bfac4df42c9759dfe60cb7621ad782d422b7674 /src/other_tools/just_mr/fetch.cpp | |
parent | 842145ff59594be8624390e22d815c71bc5c85d6 (diff) | |
download | justbuild-0e913dd3eee248bccf2b26161ca0a715d039e716.tar.gz |
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.
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r-- | src/other_tools/just_mr/fetch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<Configuration> 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 |