import-url: update stage md5 after unpartialing imports

This commit is contained in:
Peter Rowlands
2023-02-08 15:34:15 +09:00
committed by Peter Rowlands (변기호)
parent 0b141ac08a
commit 676b1e47e9
+1
View File
@@ -77,6 +77,7 @@ def unpartial_imports(index: Union["Index", "IndexView"]) -> int:
else:
out.hash_info = cast("HashInfo", entry.hash_info)
out.meta = entry.meta
out.stage.md5 = out.stage.compute_md5()
out.stage.dump()
updated += out.meta.nfiles if out.meta.nfiles is not None else 1
return updated