mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 15:28:28 +01:00
dvc: change dvcfile.dump to do synchronized dump by default (#4544)
The API of `Dvcfile.dump` has been changed to `dump(stage, update_pipeline=True, update_lock=True)`, which will make it to always dump by default to both files, and provide flags to suppress one or the other. Fixes #4235
This commit is contained in:
+1
-1
@@ -45,5 +45,5 @@ def commit(self, target, with_deps=False, recursive=False, force=False):
|
||||
stage.save()
|
||||
stage.commit()
|
||||
|
||||
Dvcfile(self, stage.path).dump(stage)
|
||||
Dvcfile(self, stage.path).dump(stage, update_pipeline=False)
|
||||
return stages
|
||||
|
||||
Reference in New Issue
Block a user