import-url: default to push: false for cloud-versioned imports

This commit is contained in:
Peter Rowlands
2022-11-18 16:32:29 +09:00
committed by Peter Rowlands (변기호)
parent 6e02dddabd
commit 00eea4560e
+3
View File
@@ -97,6 +97,9 @@ def imp_url(
else:
stage.run(jobs=jobs, no_download=no_download)
if not no_exec and stage.deps[0].fs.version_aware:
stage.outs[0].can_push = False
stage.frozen = frozen
dvcfile.dump(stage)