~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_cat_revision.py

merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        output, errors = self.run_bzr(['cat-revision', '-d', 'a', u'abcd'])
69
69
        self.assertContainsRe(output, 'This revision')
70
70
        self.assertEqual('', errors)
 
71
 
 
72
    def test_cat_tree_less_branch(self):
 
73
        tree = self.make_branch_and_tree('.')
 
74
        tree.commit('This revision', rev_id='abcd')
 
75
        tree.bzrdir.destroy_workingtree()
 
76
        output, errors = self.run_bzr(['cat-revision', '-d', 'a', u'abcd'])
 
77
        self.assertContainsRe(output, 'This revision')
 
78
        self.assertEqual('', errors)