~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_sprout.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
        repo.fetch(wt.branch.repository)
113
113
        branch2 = wt.branch.sprout(repo.bzrdir, revision_id='rev2-alt')
114
114
        self.assertEqual((2, 'rev2-alt'), branch2.last_revision_info())
115
 
        self.assertEqual(['rev1', 'rev2-alt'], branch2.revision_history())
 
115
        self.assertEqual('rev2-alt', branch2.last_revision())
116
116
 
117
117
    def test_sprout_preserves_tags(self):
118
118
        """Sprout preserves tags, even tags of absent revisions."""