diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-02-24 12:26:20 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-02-24 13:36:37 +0100 |
commit | 504ef18eaf800922b7670cca588d0f2a4659b504 (patch) | |
tree | 02af8286b380ca53036e473d685940de4cd10277 /src/other_tools | |
parent | 1e04c1ba5d5a1cd3d72feeb6614f48d84584fa95 (diff) | |
download | justbuild-504ef18eaf800922b7670cca588d0f2a4659b504.tar.gz |
just-mr setup: Remove warnings when fallback to network is available
Diffstat (limited to 'src/other_tools')
-rw-r--r-- | src/other_tools/root_maps/commit_git_map.cpp | 10 | ||||
-rw-r--r-- | src/other_tools/root_maps/foreign_file_git_map.cpp | 3 |
2 files changed, 2 insertions, 11 deletions
diff --git a/src/other_tools/root_maps/commit_git_map.cpp b/src/other_tools/root_maps/commit_git_map.cpp index 2b89c819..f8a77d77 100644 --- a/src/other_tools/root_maps/commit_git_map.cpp +++ b/src/other_tools/root_maps/commit_git_map.cpp @@ -974,14 +974,8 @@ void EnsureCommit( return; } - // just serve should have made the tree available in - // the remote CAS, so log this attempt and revert to - // network - (*logger)(fmt::format("Tree {} marked as served, " - "but not found on remote", - root_tree_id), - /*fatal=*/false); - + // just serve did not make the tree available in + // the remote CAS, so fall back to network NetworkFetchAndSetPresentRoot( repo_info, repo_root, diff --git a/src/other_tools/root_maps/foreign_file_git_map.cpp b/src/other_tools/root_maps/foreign_file_git_map.cpp index fef07ca8..2ada3884 100644 --- a/src/other_tools/root_maps/foreign_file_git_map.cpp +++ b/src/other_tools/root_maps/foreign_file_git_map.cpp @@ -199,9 +199,6 @@ void HandleAbsentForeignFile(ForeignFileInfo const& key, /*fatal=*/true); return; } - (*logger)( - fmt::format("Failed to set up root via serve, continuing anyway"), - /*fatal=*/false); } else { (*logger)(fmt::format("Workspace root {} marked absent but no " |