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

dvc: revert checkout to be silly and fast, relink on dvc add though #2882

Merged
merged 3 commits into from
Dec 5, 2019

Conversation

Suor
Copy link
Contributor

@Suor Suor commented Dec 2, 2019

This fixes #2492, reverts #2358 and fixes #2016 other way.

So now:

  • dvc checkout does not relink unless out is changed
  • dvc add/run always relinks, but slow unneeded copy is not made

I left @pared checkout tests and marked them as skipped to be reused later to test --relink.

This reverts commit 5ec1d27.

Save tests to try make them work, and `_get_cache_type()` to be used
later.
@Suor Suor requested review from pared and efiop December 2, 2019 19:48
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, @Suor, thanks!

@Suor Suor requested a review from shcheklein December 3, 2019 15:27
@Suor Suor requested a review from pared December 5, 2019 09:09
Copy link
Member

@efiop efiop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@efiop efiop merged commit 73e69be into iterative:master Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

optimize dir checkout Misleading warning (Removing before checkout)
3 participants