~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: 2006-02-22 06:19:39 UTC
  • mfrom: (1563.1.5 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060222061939-b4b7825d1d580ccf
Merge in ui for creating and converting to knit branch - no backend support yet.

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
 
122
122
    def test_upgrade_to_meta_sets_workingtree_last_revision(self):
123
123
        self.build_tree_contents(_upgrade_dir_template)
124
 
        upgrade('.', bzrdir.BzrDirMetaFormat1)
 
124
        upgrade('.', bzrdir.BzrDirMetaFormat1())
125
125
        tree = workingtree.WorkingTree.open('.')
126
126
        self.assertEqual(tree.last_revision(),
127
127
                         tree.branch.revision_history()[-1])