trunk ---------------------------renamed dir a/b to a/g ---------------------
\ /
\ /
branches/1.0----------------------modified file a/b/Hello.java --
将分支合并到主干。
svn merge ^/myproject/branches/1.0
发生冲突
Tree conflict on 'a\b'
> local missing or deleted or moved away, incoming dir edit upon merge
Select: (r) mark resolved, (p) postpone, (q) quit resolution, (h) help: r
如果我选择"标记已解决",则忽略a / b下的已修改文件Hello.java(未合并)。如何在冲突树下提取已更改的文件(例如Hello.java)?如何合并这个Senario?
svn,版本1.9.1(r1698128)
答案 0 :(得分:1)
在这种情况下,您必须直接在文件夹级别进行合并
cd trunk_working_copy
svn merge ^/myproject/branches/1.0/a/b ./a/g