623
610
# nb: this relies on someone else checking that the path we're using
624
611
# doesn't contain symlinks.
625
612
parent_ie = self._convert_to_directory(parent_ie, inv_dirname)
626
file_id = self.action(self.tree, parent_ie, path, kind)
613
file_id = self.action(self.tree.inventory, parent_ie, path, kind)
627
614
entry = _mod_inventory.make_entry(kind, basename, parent_ie.file_id,
629
616
self._invdelta[inv_path] = (None, inv_path, entry.file_id, entry)