mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-25 23:09:49 +01:00
Checkout: no warnings when file doesn't exist
This commit is contained in:
@@ -53,8 +53,7 @@ class CmdCheckout(CmdBase):
|
||||
for item in removed_items_set:
|
||||
path = item.data.relative
|
||||
if not os.path.exists(path):
|
||||
print(u'Remove \'{}\'.'.format(path))
|
||||
Logger.warn(u'File \'{}\' does not exist'.format(path))
|
||||
Logger.debug(u'File \'{}\' does not exist'.format(path))
|
||||
else:
|
||||
Logger.info(u'Remove \'{}\''.format(path))
|
||||
os.remove(path)
|
||||
|
||||
Reference in New Issue
Block a user