/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: Jelmer Vernooij
  • Date: 2009-03-12 03:05:03 UTC
  • mto: (4000.5.12 interbranch)
  • mto: This revision was merged to the branch mainline in revision 4340.
  • Revision ID: jelmer@samba.org-20090312030503-dfvjcxj7131r4rlj
Make upgrade default to a rich-root-capable format if the source format uses rich roots.

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
           ['mbp@sourcefrog.net-20051004035611-176b16534b086b3c',
173
173
            'mbp@sourcefrog.net-20051004035756-235f2b7dcdddd8dd'])
174
174
 
 
175
    def test_upgrade_rich_root(self):
 
176
        tree = self.make_branch_and_tree('tree', format='rich-root')
 
177
        rev_id = tree.commit('first post')
 
178
        upgrade('tree')
 
179
 
175
180
    def test_convert_branch5_branch6(self):
176
181
        branch = self.make_branch('branch', format='knit')
177
182
        branch.set_revision_history(['AB', 'CD'])