fix: name --fetch when an original is not cached

The export failed with 'absent and fetching is off'. It now names the cache directory it looked in and the flag that downloads the file.
This commit is contained in:
Abdessamad Derraz committed 2026-10-21 09:57:44 +02:00
1 parent 83a4b21d30
commit 287a16f41c
2 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -335,7 +335,9 @@ def collect_originals(
elif path.exists():
payload = path.read_bytes()
else:
missing.append(f"{relative}: absent and fetching is off")
missing.append(
f"{relative}: not in {root}; rerun with --fetch to download it"
)
continue
if archive:
originals.update(_read_archive(unpack, payload))