/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: 2007-10-03 02:10:09 UTC
  • mto: This revision was merged to the branch mainline in revision 2876.
  • Revision ID: robertc@robertcollins.net-20071003021009-daffidrziwpcu9hx
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
976
976
            etc. 
977
977
 
978
978
            The children attribute of new_entry is ignored. This is because
979
 
            apply_inventory_delta preserves children automatically across
980
 
            alterations to the parent of the children, and cases where the
981
 
            parent id of a child is changing require the child to be passed in
982
 
            as a separate change regardless. E.g. in the recursive deletion of
983
 
            a directory - the directories children must be included in the
984
 
            delta, or the final inventory will be invalid.
 
979
            this method preserves children automatically across alterations to
 
980
            the parent of the children, and cases where the parent id of a
 
981
            child is changing require the child to be passed in as a separate
 
982
            change regardless. E.g. in the recursive deletion of a directory -
 
983
            the directory's children must be included in the delta, or the
 
984
            final inventory will be invalid.
985
985
        """
986
986
        children = {}
987
987
        # Remove all affected items which were in the original inventory,