```sh $ dvc import /path/to/existing/repo file $ ls file file.dvc $ dvc import /path/to/not-existing/repo file $ test -f file.dvc || echo $? # no files or import stages 1 ``` Same thing happens when the repo is valid but the file does not exist.