Lines Matching refs:new_tree

453     new_tree = _get_tree_to_diff(new_revision_spec, working_tree, branch,
475 if working_tree is not None and working_tree not in (old_tree, new_tree):
477 return (old_tree, new_tree, old_branch, new_branch,
495 def show_diff_trees(old_tree, new_tree, to_file, specific_files=None, argument
524 exit_stack.enter_context(new_tree.lock_read())
525 differ = format_cls.from_trees_options(old_tree, new_tree, to_file,
560 def __init__(self, old_tree, new_tree, to_file, path_encoding='utf-8'): argument
569 self.new_tree = new_tree
578 return klass(diff_tree.old_tree, diff_tree.new_tree,
675 new_target = self.new_tree.get_symlink_target(new_path)
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)
729 new_date = _patch_header_date(self.new_tree, new_path)
758 to_text = _get_text(self.new_tree, to_path)
773 def __init__(self, command_template, old_tree, new_tree, to_file, argument
775 DiffPath.__init__(self, old_tree, new_tree, to_file, path_encoding)
780 def from_string(klass, command_template, old_tree, new_tree, to_file, argument
782 return klass(command_template, old_tree, new_tree, to_file,
792 diff_tree.new_tree, diff_tree.to_file)
899 new_path, self.new_tree, 'new', force_temp,
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,
968 self.new_tree = new_tree
978 def from_trees_options(klass, old_tree, new_tree, to_file, 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,
1030 iterator = self.new_tree.iter_changes(self.old_tree,
1051 if change.kind[0] == 'symlink' and not self.new_tree.supports_symlinks():
1109 new_kind = self.new_tree.kind(new_path)