Direct answer
\n
No. A merge does not automatically materialize paths excluded by sparse depth. Subversion applies merge only to nodes that exist in the working copy. Changes to paths outside the current sparse depth are skipped and not brought to disk.
\n
Confirmed facts
\n
\n- Depth is stored per directory in working copy metadata. Valid levels are empty, files, immediates, infinity. Set with
svn checkout --depth and changed with svn update --set-depth. \nsvn merge applies changes only to nodes present in the working copy. Paths outside the current sparse depth are not materialized, so additions or modifications in excluded directories are skipped. \n- Changing depth with
svn update --set-depth after a merge does not retroactively apply skipped changes; a subsequent svn update or a re-run of the merge with increased depth is required to bring in previously excluded content. \nsvn status and svn info --show-item depth can be used to inspect current sparse depth per directory before deciding on merge strategy. \n
\n
Likely explanation
\n
Merges that introduce new files or directories under a sparsely checked-out parent will not create those items locally. The merge may complete with skipped items reported, or in some client versions it can surface obstructed/missing path errors depending on merge options and the nature of the change.
\n
Rename/move operations crossing sparse boundaries can appear as delete+add in the working copy, increasing risk of conflicts if the target path is not checked out.
\n
Steps for this case
\n
\n- Check current depth before merging:
svn info --show-item depth .
svn info --show-item depth path/to/dir
\n \n- Run the merge in a disposable copy first to see what is skipped:
svn merge -r BASE:HEAD URL
Review output for "skipped" or "missing" paths. \n- If you need changes from excluded paths, increase depth first, then merge:
svn update --set-depth infinity path/to/parent
svn merge -r BASE:HEAD URL
\n \n- Verify status:
svn status
svn status -u
Deleted by merge shows D. Sparsely excluded paths simply do not appear. \n
\n
Depth changes are local to the working copy and do not affect repository history. Merging without sufficient depth can silently omit changes, leading to incomplete integration that is hard to detect later.
\n
One diagnostic detail that changes the recommendation: Subversion client and server version. Merge reporting for missing sparse paths is version-sensitive between 1.5 to 1.14+. If you can share svn --version output, the exact skip/obstructed behavior can be confirmed.