mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
fix logic
This commit is contained in:
+2
-2
@@ -748,12 +748,12 @@ class RemoteBASE(object):
|
||||
self.safe_remove(path_info, force=force)
|
||||
skip = True
|
||||
|
||||
if not self.changed(path_info, checksum_info):
|
||||
elif not self.changed(path_info, checksum_info):
|
||||
msg = "Data '{}' didn't change."
|
||||
logger.debug(msg.format(str(path_info)))
|
||||
skip = True
|
||||
|
||||
if self.changed_cache(checksum):
|
||||
elif self.changed_cache(checksum):
|
||||
msg = "Cache '{}' not found. File '{}' won't be created."
|
||||
logger.warning(msg.format(checksum, str(path_info)))
|
||||
self.safe_remove(path_info, force=force)
|
||||
|
||||
Reference in New Issue
Block a user