~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Mark Hammond
  • Date: 2008-12-28 05:21:23 UTC
  • mfrom: (3920 +trunk)
  • mto: (3932.1.1 prepare-1.11)
  • mto: This revision was merged to the branch mainline in revision 3937.
  • Revision ID: mhammond@skippinet.com.au-20081228052123-f78xs5sbdkotshwf
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        self.check_output(values['1'], 'revision-info -r revid:a@r-0-1')
80
80
        self.check_output(values['1.1.1'],
81
81
                          'revision-info --revision revid:a@r-0-1.1.1')
 
82
 
 
83
    def test_revision_info_explicit_branch_dir(self):
 
84
        """Test that 'bzr revision-info' honors the '-d' option."""
 
85
        wt = self.make_branch_and_tree('branch')
 
86
 
 
87
        wt.commit('Commit one', rev_id='a@r-0-1')
 
88
        self.check_output('   1 a@r-0-1\n', 'revision-info -d branch')