Closed skshetry closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.70%. Comparing base (
3375a7c
) to head (3888a6a
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
dvc add
command incorrectly raises aDoesNotExistError
when a broken symlink exists in an output directory, and the target name is same as the directory's name.eg: If
data
is an output, and the command is invoked asdvc add data
(i.e. no virtual directory operations to perform).The expected behavior is to raise a
FileNotFoundError
.DoesNotExistError
should only be raised if the output itself does not exist.Related: https://github.com/iterative/dvc/issues/3717