mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
import-url: update stage md5 after unpartialing imports
This commit is contained in:
committed by
Peter Rowlands (변기호)
parent
0b141ac08a
commit
676b1e47e9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user