Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dvc/remote/local/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,12 @@ def status(
return ret

def _fill_statuses(self, checksum_info_dir, local_exists, remote_exists):
# Using sets because they are way faster for lookups
local = set(local_exists)
remote = set(remote_exists)

for md5, info in checksum_info_dir.items():
status = STATUS_MAP[(md5 in local_exists, md5 in remote_exists)]
status = STATUS_MAP[(md5 in local, md5 in remote)]
info["status"] = status

def _get_chunks(self, download, remote, status_info, status, jobs):
Expand Down