1948
1948
raise PathNotInTree(self._source_subpath, "Source tree")
1949
1949
subdir = other_inv[subdir_id]
1950
1950
parent_in_target = osutils.dirname(self._target_subdir)
1953
1953
raise PathNotInTree(self._target_subdir, "Target tree")
1954
1954
name_in_target = osutils.basename(self._target_subdir)
1955
1955
merge_into_root = subdir.copy()
1956
1956
merge_into_root.name = name_in_target
1958
1958
# Give the root a new file-id.
1959
1959
# This can happen fairly easily if the directory we are
1960
1960
# incorporating is the root, and both trees have 'TREE_ROOT' as