394
394
# There are no files on disk and no parents
395
395
tree = self.make_branch_and_tree('tree')
397
((b'', b'', tree.path2id('')), # common details
397
((b'', b'', tree.get_root_id()), # common details
398
398
[(b'd', b'', 0, False, dirstate.DirState.NULLSTAT), # current tree
400
400
state = dirstate.DirState.from_tree(tree, 'dirstate')