-
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
push: use index push #9807
push: use index push #9807
Conversation
b657943
to
8cc8d25
Compare
7e526c6
to
6a810ff
Compare
Codecov ReportAttention:
... and 30 files with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
fca283f
to
fd87ebb
Compare
7b0cb7e
to
b2419b1
Compare
705616a
to
ea3dfba
Compare
Leftover from some old attempts. Related iterative/dvc#9807
a7b437b
to
a9ca9a7
Compare
@@ -486,7 +486,7 @@ def test_pull_partial(tmp_dir, dvc, local_remote): | |||
clean(["foo"], dvc) | |||
|
|||
stats = dvc.pull(os.path.join("foo", "bar")) | |||
assert stats["fetched"] == 3 | |||
assert stats["fetched"] == 2 |
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.
We were pulling redundant files here.
@@ -182,7 +182,7 @@ def test_partial_checkout_and_update(M, tmp_dir, dvc, remote): | |||
|
|||
assert dvc.pull("dir/subdir") == M.dict( | |||
added=[join("dir", "")], | |||
fetched=3, | |||
fetched=2, |
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.
Also were pulling redundant files here.
@@ -148,7 +148,7 @@ def test_hash_recalculation(mocker, dvc, tmp_dir, local_remote): | |||
assert ret == 0 | |||
ret = main(["push"]) | |||
assert ret == 0 | |||
assert test_file_md5.mock.call_count == 1 | |||
assert test_file_md5.mock.call_count == 3 |
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.
2 new are from in-memfs calc for dirs.
9d860c0
to
07e2393
Compare
Part of #9333