318
318
def test_diff_branches(self):
319
319
self.build_tree(['branch1/', 'branch1/file', 'branch2/'])
320
320
branch = Branch.initialize('branch1')
322
322
branch.working_tree().commit('add file')
323
323
copy_branch(branch, 'branch2')
324
324
print >> open('branch2/file', 'w'), 'new content'