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