dvc: properly join paths for push/pull progress bar

Fixes #1095

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-09-21 09:22:06 +03:00
parent 1d654d0444
commit 69bb753980
+2 -2
View File
@@ -443,8 +443,8 @@ class RemoteLOCAL(RemoteBase):
for i in self.load_dir_cache(md5):
if info.get('branch'):
i['branch'] = info['branch']
i[self.PARAM_PATH] = posixpath.join(info[self.PARAM_PATH],
i[self.PARAM_RELPATH])
i[self.PARAM_PATH] = os.path.join(info[self.PARAM_PATH],
i[self.PARAM_RELPATH])
collected.append(i.copy())
collected.extend(checksum_infos)