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