mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-06 15:28:28 +01:00
import-url: disable push on version aware imports before saving
This commit is contained in:
committed by
Peter Rowlands (변기호)
parent
fe9f8654a3
commit
459adfb40f
+2
-3
@@ -90,11 +90,10 @@ def imp_url( # noqa: C901
|
||||
stage.save_deps()
|
||||
stage.md5 = stage.compute_md5()
|
||||
else:
|
||||
if stage.deps[0].fs.version_aware:
|
||||
stage.outs[0].can_push = False
|
||||
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
|
||||
stage.dump()
|
||||
return stage
|
||||
|
||||
Reference in New Issue
Block a user