mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
import-url: default to push: false for cloud-versioned imports
This commit is contained in:
committed by
Peter Rowlands (변기호)
parent
6e02dddabd
commit
00eea4560e
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user