/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/repository_implementations/test_reconcile.py

All check/reconcile tests passing now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
        repo.start_write_group()
324
324
        inv = Inventory(revision_id='wrong-secondary-parent')
325
325
        inv.root.revision = 'wrong-secondary-parent'
326
 
        root_id = inv.root.file_id
327
 
        vf = repo.weave_store.get_weave_or_empty(root_id,
328
 
            repo.get_transaction())
329
 
        vf.add_lines('wrong-secondary-parent', [], [])
 
326
        if repo.supports_rich_root():
 
327
            root_id = inv.root.file_id
 
328
            vf = repo.weave_store.get_weave_or_empty(root_id,
 
329
                repo.get_transaction())
 
330
            vf.add_lines('wrong-secondary-parent', [], [])
330
331
        sha1 = repo.add_inventory('wrong-secondary-parent', inv, ['1', '3', '2'])
331
332
        rev = Revision(timestamp=0,
332
333
                       timezone=None,