logging: fixed some log calls.
This commit is contained in:
parent
51fb86379c
commit
94390f644f
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue