Files
dvc/dvc
skshetry 5379aa2348 add: raise DoesNotExistError only if the output path does not exist (#10373)
`dvc add` command incorrectly raises a `DoesNotExistError` 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 is the command is invoked as `dvc add data`
(i.e. no virtual directory operations to perform).

The expected behavior to raise a `FileNotFoundError`.
`DoesNotExistError` should only be raised if the output itself does not
exist.

Related: https://github.com/iterative/dvc/issues/3717
2024-03-26 11:16:35 +00:00
..
2024-03-11 09:47:05 -04:00
2024-01-30 11:33:25 +02:00
2024-01-30 11:33:25 +02:00
2023-11-10 15:54:08 +05:45
2024-01-30 11:33:25 +02:00
2024-01-30 11:33:25 +02:00
2023-12-15 08:02:40 +02:00
2024-01-30 11:33:25 +02:00