我有两个分支:X 和 Y。我想用 X (x1) 中的等效项替换 Y 的子目录 (y1)。
目前,我执行以下操作:将 x1 复制到 Y,删除 y1,将 x1 重命名(移动)到 y1:
a) svn copy https://path/to/branches/X/x1 https://path/to/branches/Y/
b) svn delete https://path/to/branches/Y/y1
c) svn move https://path/to/branches/Y/x1 https://path/to/branches/Y/y1
我觉得挺丑的。。。
我怎样才能以更聪明的方式做到这一点?