diff --git a/dvc/repo/__init__.py b/dvc/repo/__init__.py index d79e2882f..2f743a6ff 100644 --- a/dvc/repo/__init__.py +++ b/dvc/repo/__init__.py @@ -183,7 +183,6 @@ class Repo(object): self, targets=None, all_branches=False, - active=True, with_deps=False, all_tags=False, remote=None, @@ -229,14 +228,6 @@ class Repo(object): stages = self.stages() for stage in stages: - if active and not targets and stage.locked: - logger.warning( - "DVC-file '{path}' is locked. Its dependencies are" - " not going to be pushed/pulled/fetched.".format( - path=stage.relpath - ) - ) - for out in stage.outs: scheme = out.path_info.scheme used_cache = out.get_used_cache( diff --git a/dvc/repo/gc.py b/dvc/repo/gc.py index bfae569ff..c334b5ebe 100644 --- a/dvc/repo/gc.py +++ b/dvc/repo/gc.py @@ -35,7 +35,6 @@ def _load_all_used_cache( repo_clist = repo.used_cache( targets=None, all_branches=all_branches, - active=False, with_deps=with_deps, all_tags=all_tags, remote=remote,