~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_upgrade.py

  • Committer: Robert Collins
  • Date: 2005-10-09 23:42:12 UTC
  • Revision ID: robertc@robertcollins.net-20051009234212-7973344d900afb0b
merge in niemeyers prefixed-store patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        self.failUnlessExists('.bzr/README')
40
40
 
41
41
    def test_upgrade_simple(self):
42
 
        """Upgrade simple v0.0.4 format to v5"""
 
42
        """Upgrade simple v0.0.4 format to v6"""
43
43
        eq = self.assertEquals
44
44
        build_tree_contents(_upgrade1_template)
45
45
        upgrade('.')
46
46
        b = Branch.open('.')
47
 
        eq(b._branch_format, 5)
 
47
        eq(b._branch_format, 6)
48
48
        rh = b.revision_history()
49
49
        eq(rh,
50
50
           ['mbp@sourcefrog.net-20051004035611-176b16534b086b3c',