/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/inventory.py

  • Committer: Robert Collins
  • Date: 2009-07-02 07:22:27 UTC
  • mto: This revision was merged to the branch mainline in revision 4505.
  • Revision ID: robertc@robertcollins.net-20090702072227-a2yzortdrjcnls5c
Add documentation describing how and why we use inventory deltas, and what can go wrong with them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1090
1090
    def apply_delta(self, delta):
1091
1091
        """Apply a delta to this inventory.
1092
1092
 
 
1093
        See the inventory developers documentation for the theory behind
 
1094
        inventory deltas.
 
1095
 
1093
1096
        :param delta: A list of changes to apply. After all the changes are
1094
1097
            applied the final inventory must be internally consistent, but it
1095
1098
            is ok to supply changes which, if only half-applied would have an
1578
1581
        propagate_caches=False):
1579
1582
        """Create a new CHKInventory by applying inventory_delta to this one.
1580
1583
 
 
1584
        See the inventory developers documentation for the theory behind
 
1585
        inventory deltas.
 
1586
 
1581
1587
        :param inventory_delta: The inventory delta to apply. See
1582
1588
            Inventory.apply_delta for details.
1583
1589
        :param new_revision_id: The revision id of the resulting CHKInventory.