311
311
self.build_tree(['branch1/', 'branch1/file', 'branch2/'])
312
312
branch = Branch.initialize('branch1')
315
315
copy_branch(branch, 'branch2')
316
316
print >> open('branch2/file', 'w'), 'new content'
317
317
branch2 = Branch.open('branch2')
319
319
# should open branch1 and diff against branch2,
320
320
output = self.run_bzr_captured(['diff', '-r', 'branch:branch2',