371
371
def test_diff_branches(self):
372
self.build_tree(['branch1/', 'branch1/file', 'branch2/'], line_endings='binary')
373
373
branch = Branch.initialize('branch1')
375
375
branch.working_tree().commit('add file')
376
376
copy_branch(branch, 'branch2')
378
378
branch2 = Branch.open('branch2')
379
379
branch2.working_tree().commit('update file')
380
380
# should open branch1 and diff against branch2,