Skip to content

Unexpected dvc remove behaviour #3242

@r0f1

Description

@r0f1

Hi, I just encountered an unexpected dvc remove behavior. Is the following behavior intended?

> ls
report.html  report.html.dvc 
> dvc remove report.html
ERROR: failed to remove 'report.html' - bad DVC-file name 'report.html'. DVC-files should be named 'Dvcfile' or have a '.dvc' suffix (e.g. 'report.html.dvc').

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!
> ls
report.html.dvc

So I tried to remove the .html got an error that I should remove the .html.dvc file instead, but unexpectedly the .html was removed! Is this intended?

dvc --version
0.82.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responsewe are waiting for your reply, please respond! :)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions