~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

Merge bb-core.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2142
2142
 
2143
2143
def _make_inv_delta(old, new):
2144
2144
    """Make an inventory delta from two inventories."""
2145
 
    old_ids = set(old._byid.iterkeys())
2146
 
    new_ids = set(new._byid.iterkeys())
 
2145
    old_ids = set(old)
 
2146
    new_ids = set(new)
2147
2147
    adds = new_ids - old_ids
2148
2148
    deletes = old_ids - new_ids
2149
2149
    common = old_ids.intersection(new_ids)