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

  • Committer: Robert Collins
  • Date: 2007-07-20 02:27:13 UTC
  • mfrom: (2634 +trunk)
  • mto: (2592.3.48 repository)
  • mto: This revision was merged to the branch mainline in revision 2682.
  • Revision ID: robertc@robertcollins.net-20070720022713-z6x6cns4dy1mzhpk
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
            return
70
70
        info = bzrlib.bundle.read_bundle_from_url(
71
71
                    unicode(self.get_url('test_bundle')))
72
 
        bundle_tree = info.revision_tree(wt.branch.repository, info.target)
73
 
        self.assertEqual('commit-1', bundle_tree.revision_id)
 
72
        revision = info.real_revisions[-1]
 
73
        self.assertEqual('commit-1', revision.revision_id)
74
74
 
75
75
    def test_read_fail(self):
76
76
        # Trying to read from a directory, or non-bundle file