/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: Aaron Bentley
  • Date: 2006-10-02 21:41:43 UTC
  • mto: (2100.3.5 by-reference-trees)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: abentley@panoramicfeedback.com-20061002214143-31a300ef43cfd8b8
Get extract working for standalone trees

Show diffs side-by-side

added added

removed removed

Lines of Context:
1229
1229
        for file_id in reversed(to_delete):
1230
1230
            ie = self[file_id]
1231
1231
            del self._byid[file_id]
1232
 
            if ie.parent_id is not None:
1233
 
                del self[ie.parent_id].children[ie.name]
 
1232
        if ie.parent_id is not None:
 
1233
            del self[ie.parent_id].children[ie.name]
1234
1234
 
1235
1235
    def rename(self, file_id, new_parent_id, new_name):
1236
1236
        """Move a file within the inventory.