mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
status: print a warning about locked DVC files
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user