160
158
def do_diff(old_path, file_id, new_path, kind):
161
159
new_entry = new_tree.inventory[file_id]
162
160
old_tree.inventory[file_id].diff(internal_diff,
163
pjoin(old_label, old_path), old_tree,
164
pjoin(new_label, new_path), new_entry, new_tree,
161
pathjoin(old_label, old_path), old_tree,
162
pathjoin(new_label, new_path), new_entry, new_tree,
167
165
ie = new_tree.inventory[file_id]