~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2008-09-02 05:28:37 UTC
  • mfrom: (3675 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3677.
  • Revision ID: robertc@robertcollins.net-20080902052837-ec3qlv41q5e7f6fl
Resolve conflicts with NEWS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        self.check_output(revs[1], 'cat-revision -r revid:a@r-0-1')
54
54
        self.check_output(revs[2], 'cat-revision -r revid:a@r-0-2')
55
55
        self.check_output(revs[3], 'cat-revision -r revid:a@r-0-3')
 
56
 
 
57
    def test_cat_no_such_revid(self):
 
58
        tree = self.make_branch_and_tree('.')
 
59
        err = self.run_bzr('cat-revision abcd', retcode=3)[1]
 
60
        self.assertContainsRe(err, 'The repository .* contains no revision abcd.')
 
61
 
 
62