diff --git a/dvc/dependency/repo.py b/dvc/dependency/repo.py index c229c780d..5fa8d0e7e 100644 --- a/dvc/dependency/repo.py +++ b/dvc/dependency/repo.py @@ -105,7 +105,7 @@ class RepoDependency(Dependency): try: hash_info = self.fs.info(src_path)["dvc_info"]["entry"].hash_info dest_info = to.fs.info(dest_path) - except (OSError, KeyError, AttributeError): + except (KeyError, AttributeError): # If no hash info found, just keep going and output will be hashed later continue if hash_info: