~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-01-19 18:40:15 UTC
  • mfrom: (5622 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5624.
  • Revision ID: jelmer@samba.org-20110119184015-ahycpz0yduideif0
merge bzr.dev.

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)