From 6826bdf8031fa28991283cd6266b545d6dd82bcf Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 9 Jan 2023 11:10:18 +0100 Subject: Just-MR: Fix distdir computation in internal just-mr This provides the fix already performed for the just-mr script in the internal just-mr as well. In short, this fix makes sure that the computation of the content key for distdir repositories is independent of the presence of the respective archives in CAS. --- src/other_tools/just_mr/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/other_tools/just_mr/main.cpp') diff --git a/src/other_tools/just_mr/main.cpp b/src/other_tools/just_mr/main.cpp index 3411349c..374b160b 100644 --- a/src/other_tools/just_mr/main.cpp +++ b/src/other_tools/just_mr/main.cpp @@ -968,8 +968,10 @@ void DefaultReachableRepositories( &critical_git_op_map, &import_to_git_map, arguments.common.jobs); - auto distdir_git_map = CreateDistdirGitMap( - &import_to_git_map, &critical_git_op_map, arguments.common.jobs); + auto distdir_git_map = CreateDistdirGitMap(&content_cas_map, + &import_to_git_map, + &critical_git_op_map, + arguments.common.jobs); auto repos_to_setup_map = CreateReposToSetupMap(config, main, interactive, -- cgit v1.2.3