From 6a01578dfbeec581d8cffaf7df1d23f0ba0f1020 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 16 Jul 2018 16:48:00 +0300 Subject: [PATCH] status: print a warning about locked DVC files Signed-off-by: Ruslan Kuprieiev --- dvc/project.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dvc/project.py b/dvc/project.py index 0bb2fb494..66c0d8366 100644 --- a/dvc/project.py +++ b/dvc/project.py @@ -360,6 +360,11 @@ class Project(object): stages = self.active_stages() for stage in stages: + if not stage.locked: + msg = 'DVC file \'{}\' is locked. Its dependecies are not ' \ + 'going to be shown in status output.' + self.logger.warn(msg.format(stage.relpath)) + status.update(stage.status()) return status