Skip to content

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

Merged
efiop merged 3 commits into
treeverse:masterfrom
Suor:revert-checkout
Dec 5, 2019
Merged

dvc: revert checkout to be silly and fast, relink on dvc add though#2882
efiop merged 3 commits into
treeverse:masterfrom
Suor:revert-checkout

Conversation

@Suor
Copy link
Copy Markdown
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.

Suor added 2 commits December 2, 2019 14:38
This reverts commit 5ec1d27.

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

@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
Comment thread dvc/remote/base.py
@Suor Suor requested a review from pared December 5, 2019 09:09
Copy link
Copy Markdown
Contributor

@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 treeverse: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