1010
1013
# for the tree index use.
1011
1014
root_key, current_entry = self._dirstate._get_entry(parent_index, path_utf8='')
1014
1017
inv = Inventory(root_id=current_id, revision_id=self._revision_id)
1015
1018
inv.root.revision = current_entry[parent_index][4]
1016
1019
# we could do this straight out of the dirstate; it might be fast