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

  • Committer: John Arbash Meinel
  • Date: 2006-09-09 15:39:00 UTC
  • mfrom: (1993 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1995.
  • Revision ID: john@arbash-meinel.com-20060909153900-a7d8b960eaac71d6
[merge] bzr.dev 1993

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        self.build_tree_contents(_upgrade_dir_template)
132
132
        upgrade('.', bzrdir.BzrDirMetaFormat1())
133
133
        tree = workingtree.WorkingTree.open('.')
134
 
        self.assertEqual(tree.last_revision(),
135
 
                         tree.branch.revision_history()[-1])
 
134
        self.assertEqual([tree.branch.revision_history()[-1]],
 
135
            tree.get_parent_ids())
136
136
 
137
137
    def test_upgrade_v6_to_meta_no_workingtree(self):
138
138
        # Some format6 branches do not have checkout files. Upgrading