Question
Mergeinfo loss after svn copy --no-recursive followed by svn move in Subversion 1.9+
Ari Maple
0 reputation · 29 Jun 2024, 04:24 UTC
25.2K views0
Goal: preserve accurate svn:mergeinfo when reorganizing a branch by first copying a subtree with svn copy --no-recursive and then moving the copied subtree with svn move.
Uncertainty: the --no-recursive flag may prevent mergeinfo from being set on the new copy, and the subsequent move might not restore the original merge tracking data, potentially causing duplicate revisions or spurious conflicts during later merges.
Questions:
- Does svn copy --no-recursive preserve the source's svn:mergeinfo on the newly created target?
- If mergeinfo is missing after the copy, does a following svn move automatically recover it to match the source's merge history?