Commit a1d518c
Ahmed Bilal
[IO] Fix rootcp --replace flag not working with recursive copy
The --replace flag was not being checked when copying regular objects
(non-tree, non-collection) in recursive mode. This caused objects to be
written with new cycles instead of replacing existing ones.
Added replaceOption check in the else block of copyRootObjectRecursive()
to delete existing objects before writing replacements.
Fixes #70521 parent 4c59740 commit a1d518c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
| 697 | + | |
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| |||
0 commit comments