~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

Merge in knit repository use of knits - still not a stable format, but can be experimented with.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
from bzrlib.xml5 import serializer_v5
92
92
from bzrlib.inventory import Inventory, ROOT_ID
93
93
from bzrlib.symbol_versioning import *
94
 
from bzrlib.weave import Weave
95
 
from bzrlib.weavefile import read_weave, write_weave_v5
96
94
from bzrlib.workingtree import WorkingTree
97
95
 
98
96
 
495
493
        for path, ie in self.new_inv.iter_entries():
496
494
            previous_entries = ie.find_previous_heads(
497
495
                self.parent_invs, 
498
 
                self.weave_store.get_weave_prelude_or_empty(ie.file_id,
 
496
                self.weave_store.get_weave_or_empty(ie.file_id,
499
497
                    self.branch.get_transaction()))
500
498
            if ie.revision is None:
501
499
                change = ie.snapshot(self.rev_id, path, previous_entries,