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