~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/blackbox.py

Fixed diff and status on newly-added, newly-deleted files

Show diffs side-by-side

added added

removed removed

Lines of Context:
318
318
        self.assert_('\n+hello world!' in output)
319
319
        output = self.runbzr('diff -r last:3..last:1', backtick=1, retcode=1)
320
320
        self.assert_('\n+baz' in output)
 
321
        file('moo', 'wb').write('moo')
 
322
        self.runbzr('add moo')
 
323
        os.unlink('moo')
 
324
        self.runbzr('diff')
321
325
 
322
326
    def test_diff_branches(self):
323
327
        self.build_tree(['branch1/', 'branch1/file', 'branch2/'])