~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(jelmer) Deprecate Branch.revision_history(). (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
550
550
        self.assertEqual({}, repo.get_parent_map(['rev1']))
551
551
        # revision_history should work, even though the history is spread over
552
552
        # multiple repositories.
553
 
        self.assertLength(2, stacked.branch.revision_history())
 
553
        self.assertEquals((2, 'rev2'), stacked.branch.last_revision_info())
554
554
 
555
555
 
556
556
class TestStackingConnections(