354
354
def test_diff_branches(self):
355
self.build_tree(['branch1/', 'branch1/file', 'branch2/'], line_endings='binary')
356
356
branch = Branch.initialize('branch1')
358
358
branch.working_tree().commit('add file')
359
359
copy_branch(branch, 'branch2')
361
361
branch2 = Branch.open('branch2')
362
362
branch2.working_tree().commit('update file')
363
363
# should open branch1 and diff against branch2,