~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2007-09-02 22:38:54 UTC
  • mfrom: (2776 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2777.
  • Revision ID: aaron.bentley@utoronto.ca-20070902223854-vh6jc4c19w94htsm
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
        result = self.run_bzr("status -r 0..1")[0]
318
318
        self.assertContainsRe(result, "added:\n  hello.txt\n")
319
319
 
 
320
        result = self.run_bzr("status -c 1")[0]
 
321
        self.assertContainsRe(result, "added:\n  hello.txt\n")
 
322
 
320
323
        self.build_tree(['world.txt'])
321
324
        result = self.run_bzr("status -r 0")[0]
322
325
        self.assertContainsRe(result, "added:\n  hello.txt\n" \
386
389
        rmdir('directory')
387
390
        self.assertStatusContains('RD  file => directory')
388
391
 
 
392
    def test_status_illegal_revision_specifiers(self):
 
393
        out, err = self.run_bzr('status -r 1..23..123', retcode=3)
 
394
        self.assertContainsRe(err, 'one or two revision specifiers')
 
395
 
389
396
 
390
397
class TestStatusEncodings(TestCaseWithTransport):
391
398