logging: fixed some log calls.

This commit is contained in:
Marcin Kuzminski 2019-07-11 20:23:24 +02:00
parent 51fb86379c
commit 94390f644f
2 changed files with 2 additions and 3 deletions

View file

@ -1192,7 +1192,7 @@ def load_cached_diff(cached_diff_file):
has_cache = os.path.isfile(cached_diff_file)
if not has_cache:
log.debug('Reading diff cache file failed', cached_diff_file)
log.debug('Reading diff cache file failed %s', cached_diff_file)
return default_struct
data = None

View file

@ -279,8 +279,7 @@ class MercurialCommit(base.BaseCommit):
if self._get_kind(path) != NodeKind.DIR:
raise CommitError(
"Directory does not exist for idx %s at '%s'" %
(self.idx, path))
"Directory does not exist for idx %s at '%s'" % (self.raw_id, path))
path = self._fix_path(path)
filenodes = [