~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

Untested code is broken code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3263
3263
                        delta = _make_inv_delta(basis_tree.inventory,
3264
3264
                            tree.inventory)
3265
3265
                        for old_path, new_path, file_id, entry in delta:
3266
 
                            if new_path:
 
3266
                            if new_path is not None:
 
3267
                                if not (new_path or self.target.supports_rich_root()):
 
3268
                                    # We leave the inventory delta in, because that
 
3269
                                    # will have the deserialised inventory root
 
3270
                                    # pointer.
 
3271
                                    continue
3267
3272
                                text_keys.add((file_id, entry.revision))
3268
3273
                        revision = self.source.get_revision(current_revision_id)
3269
3274
                        pending_deltas.append((basis_id, delta,