Skip to content
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

checkout: confusing "Nothing to do" message #2869

Closed
ghost opened this issue Nov 29, 2019 · 1 comment
Closed

checkout: confusing "Nothing to do" message #2869

ghost opened this issue Nov 29, 2019 · 1 comment
Labels
bug Did we break something? p1-important Important, aka current backlog of things to do ui user interface / interaction

Comments

@ghost
Copy link

ghost commented Nov 29, 2019

When checking out an empty directory, it shows "Nothing to do" because get_all_files_numbers(stages) throws 0 -- dvc/repo/checkout.py.

The checkout works but it shows the message.

mkdir empty
dvc add empty
rmdir empty
dvc checkout empty.dvc
@triage-new-issues triage-new-issues bot added the triage Needs to be triaged label Nov 29, 2019
@ghost ghost added bug Did we break something? ui user interface / interaction labels Nov 29, 2019
@triage-new-issues triage-new-issues bot removed the triage Needs to be triaged label Nov 29, 2019
@efiop efiop added the p1-important Important, aka current backlog of things to do label Nov 29, 2019
@casperdcl casperdcl mentioned this issue Apr 5, 2020
3 tasks
@skshetry
Copy link
Member

No longer an issue. checkout does not print anything if there are no changes, otherwise it prints the list of file changes with their statuses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Did we break something? p1-important Important, aka current backlog of things to do ui user interface / interaction
Projects
None yet
Development

No branches or pull requests

2 participants