##// END OF EJS Templates
diffs: improve logging
marcink -
r4324:6440858f default
parent child Browse files
Show More
@@ -444,7 +444,8 b' class DiffProcessor(object):'
444 return diff_container(sorted(_files, key=sorter))
444 return diff_container(sorted(_files, key=sorter))
445
445
446 def _check_large_diff(self):
446 def _check_large_diff(self):
447 log.debug('Diff exceeds current diff_limit of %s', self.diff_limit)
447 if self.diff_limit:
448 log.debug('Checking if diff exceeds current diff_limit of %s', self.diff_limit)
448 if not self.show_full_diff and (self.cur_diff_size > self.diff_limit):
449 if not self.show_full_diff and (self.cur_diff_size > self.diff_limit):
449 raise DiffLimitExceeded('Diff Limit `%s` Exceeded', self.diff_limit)
450 raise DiffLimitExceeded('Diff Limit `%s` Exceeded', self.diff_limit)
450
451
General Comments 0
You need to be logged in to leave comments. Login now