/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Michael Hudson
  • Date: 2008-12-10 02:05:30 UTC
  • mto: (3889.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3890.
  • Revision ID: michael.hudson@canonical.com-20081210020530-7lrsz78ln4d08m8l
support -d in the revision-info command

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')