##// END OF EJS Templates
use safe get on copy mode since for git we don't have this implemented
marcink -
r4013:d9a73bfc default
parent child Browse files
Show More
@@ -392,7 +392,7 class DiffProcessor(object):
392 stats['ops'][RENAMED_FILENODE] = ('file renamed from %s to %s'
392 stats['ops'][RENAMED_FILENODE] = ('file renamed from %s to %s'
393 % (head['rename_from'], head['rename_to']))
393 % (head['rename_from'], head['rename_to']))
394 # COPY
394 # COPY
395 if head['copy_from'] and head['copy_to']:
395 if head.get('copy_from') and head.get('copy_to'):
396 op = 'M'
396 op = 'M'
397 stats['binary'] = True
397 stats['binary'] = True
398 stats['ops'][COPIED_FILENODE] = ('file copied from %s to %s'
398 stats['ops'][COPIED_FILENODE] = ('file copied from %s to %s'
General Comments 0
You need to be logged in to leave comments. Login now