644
644
winner_tid = tt.trans_id_tree_path(winner_path)
645
645
winner_parent_tid = tt.get_tree_parent(winner_tid)
646
646
# Switch the paths to preserve the content
649
650
# Associate the file_id to the right content
650
651
tt.unversion_file(item_tid)
651
652
tt.version_file(self.file_id, winner_tid)