84
83
def test_diff_to_working_tree(self):
85
84
self.build_tree(['branch1/', 'branch1/file1'], line_endings='binary')
88
87
print >> open('branch1/file1', 'wb'), 'original line'
88
self.run_bzr_captured(['commit', '-m', 'first commit', 'branch1'])
91
90
print >> open('branch1/file1', 'wb'), 'repo line'
91
self.run_bzr_captured(['commit', '-m', 'second commit', 'branch1'])
94
93
print >> open('branch1/file1', 'wb'), 'new line'
95
94
output = self.run_bzr_captured(['diff', '-r', '1..', 'branch1'], retcode=1)