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: don't remove other links when checking out particular dvc file #1788

Closed
efiop opened this issue Mar 27, 2019 · 0 comments
Closed
Assignees
Labels
bug Did we break something? p1-important Important, aka current backlog of things to do

Comments

@efiop
Copy link
Member

efiop commented Mar 27, 2019

Currently dvc checkout(and dvc pull) improperly collect all stages to remove unused links. When a target is specified, links are collected only for target stages https://github.com/iterative/dvc/blob/0.32.1/dvc/repo/checkout.py#L27 and then all other links are removed https://github.com/iterative/dvc/blob/0.32.1/dvc/repo/checkout.py#L31 , which is not correct.

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
Projects
None yet
Development

No branches or pull requests

2 participants