Lines Matching refs:path_encoding

71                   path_encoding='utf8', context_lines=DEFAULT_CONTEXT_AMOUNT):  argument
90 fromfile=old_label.encode(path_encoding, 'replace'),
91 tofile=new_label.encode(path_encoding, 'replace'),
499 path_encoding='utf8', argument
526 path_encoding,
560 def __init__(self, old_tree, new_tree, to_file, path_encoding='utf-8'): argument
571 self.path_encoding = path_encoding
579 diff_tree.to_file, diff_tree.path_encoding)
685 new_target.encode(self.path_encoding, 'replace'))
688 old_target.encode(self.path_encoding, 'replace'))
691 (old_target.encode(self.path_encoding, 'replace'),
692 new_target.encode(self.path_encoding, 'replace')))
702 def __init__(self, old_tree, new_tree, to_file, path_encoding='utf-8', argument
705 DiffPath.__init__(self, old_tree, new_tree, to_file, path_encoding)
709 self.path_encoding = path_encoding
760 self.to_file, path_encoding=self.path_encoding,
767 ).encode(self.path_encoding, 'replace'))
774 path_encoding='utf-8'): argument
775 DiffPath.__init__(self, old_tree, new_tree, to_file, path_encoding)
781 path_encoding='utf-8'): argument
783 path_encoding)
952 def __init__(self, old_tree, new_tree, to_file, path_encoding='utf-8', argument
965 diff_text = DiffText(old_tree, new_tree, to_file, path_encoding,
970 self.path_encoding = path_encoding
979 path_encoding, external_diff_options, old_label, argument
1003 … def diff_file(olab, olines, nlab, nlines, to_file, path_encoding=None, context_lines=None): argument
1010 diff_text = DiffText(old_tree, new_tree, to_file, path_encoding,
1012 return klass(old_tree, new_tree, to_file, path_encoding, diff_text,
1045 return path.encode(self.path_encoding, "replace")