~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Richard Wilbur
  • Date: 2016-02-04 19:07:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6618.
  • Revision ID: richard.wilbur@gmail.com-20160204190728-p0zvfii6zase0fw7
Update COPYING.txt from the original http://www.gnu.org/licenses/gpl-2.0.txt  (Only differences were in whitespace.)  Thanks to Petr Stodulka for pointing out the discrepancy.

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)