/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/test_log.py

  • Committer: Aaron Bentley
  • Date: 2007-08-15 16:05:13 UTC
  • mfrom: (2703 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2709.
  • Revision ID: abentley@panoramicfeedback.com-20070815160513-aepyrd0uu9vtedsy
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
776
776
        tree = self.create_tree_with_single_merge()
777
777
        # f3 should be marked as modified by revisions A, B, C, and D
778
778
        self.assertAllRevisionsForFileID(tree, 'f2-id', ['D', 'C', 'A'])
 
779
 
 
780
 
 
781
class TestShowChangedRevisions(TestCaseWithTransport):
 
782
 
 
783
    def test_show_changed_revisions_verbose(self):
 
784
        tree = self.make_branch_and_tree('tree_a')
 
785
        self.build_tree(['tree_a/foo'])
 
786
        tree.add('foo')
 
787
        tree.commit('bar', rev_id='bar-id')
 
788
        s = StringIO()
 
789
        log.show_changed_revisions(tree.branch, [], ['bar-id'], s)
 
790
        self.assertContainsRe(s.getvalue(), 'bar')
 
791
        self.assertNotContainsRe(s.getvalue(), 'foo')