-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli: remove: fix error message for the case when file is not under control (#4497) #5236
Conversation
ping @DiPaolo, is there anything that we could do to move this PR forward? |
…ntrol (#4497) fixes after code review
@skshetry I made fixes according to your notes. I've improved error message for the user in that specific case, because IMHO it makes sense to provide the user more information. The text has been taken from your reply in the issue itself. Now it looks like: |
@DiPaolo, we need to support file as a target in the We do need to clean up the message, especially the "failed to remove" one. So, either we need to add support for it, or just do the cleanup in this PR. Regarding the support for files, the change should be pretty trivial, we just need Line 44 in 228b3b1
|
…ntrol (#4497) 2nd round of fixes after code review
@skshetry let me give it another try... I prefer the second option you've suggested - just to clean-up the message. Adding support of files as a target is out of the scope of this issue. So, to track it correctly, I will create a separate issue once the PR is accepted, if you don't mind. |
…ntrol (#4497) 3rd round of fixes after code review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @DiPaolo. 🙂
Here it is #5288 |
Partially fix #4497
❗ I have followed the Contributing to DVC checklist.
📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏