~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_upgrade.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-20 21:01:40 UTC
  • mfrom: (5718.7.15 dprh)
  • Revision ID: pqm@pqm.ubuntu.com-20110420210140-1akzbrzuwftl390r
(Jelmer) Deprecate Branch.set_revision_history(). (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from bzrlib import (
26
26
    branch,
27
27
    bzrdir,
28
 
    repository,
29
28
    tests,
30
29
    upgrade,
31
30
    workingtree,
42
41
 
43
42
    def test_convert_branch5_branch6(self):
44
43
        b = self.make_branch('branch', format='knit')
45
 
        b.set_revision_history(['AB', 'CD'])
 
44
        b._set_revision_history(['CD'])
46
45
        b.set_parent('file:///EF')
47
46
        b.set_bound_location('file:///GH')
48
47
        b.set_push_location('file:///IJ')