Skip to content

Commit

Permalink
repro: update status message for dvc-added files (#4317)
Browse files Browse the repository at this point in the history
* stage/__init__.py: Updated output for dvc repro

* Delete config.ini

Co-authored-by: Ruslan Kuprieiev <[email protected]>
  • Loading branch information
sarthakforwet and efiop authored Aug 6, 2020
1 parent 7afff1e commit 4759517
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dvc/stage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,12 @@ def remove(self, force=False, remove_outs=True, purge=True):
@rwlocked(read=["deps"], write=["outs"])
def reproduce(self, interactive=False, **kwargs):
if not (kwargs.get("force", False) or self.changed()):
logger.info("Stage '%s' didn't change, skipping", self.addressing)
if not isinstance(self, PipelineStage) and self.is_data_source:
logger.info("'%s' didn't change, skipping", self.addressing)
else:
logger.info(
"Stage '%s' didn't change, skipping", self.addressing
)
return None

msg = (
Expand Down

0 comments on commit 4759517

Please sign in to comment.