合并两个分支svn Xcode?

时间:2012-11-05 14:21:31

标签: xcode svn

当我尝试在Xcode中合并两个分支时,当前分支为null,合并对话框文本如下: 选择要合并到当前分支的分支 工作副本的当前分支是“(null)”

2 个答案:

答案 0 :(得分:0)

您可以查看一些来源,我不知道他们是否会提供帮助:

How do I merge two SVN branches?

http://blog.e-shell.org/192

http://blog.assembla.com/assemblablog/tabid/12618/bid/58122/It-s-Time-to-Fix-Subversion-Merge.aspx

就个人而言,我不再是SVN的忠实粉丝,但我想这是一个偏好的问题。

答案 1 :(得分:0)

也许您想要的是直接将两个现有分支合并到一个新的工作副本中并创建第三个合并分支。那是你在找什么?

无论如何,这不起作用。首先,您必须从工作副本运行命令(或调用对话框)。换句话说,您必须签出第一个分支或主干版本。

然后您可能会对所谓的“2-URL合并”感兴趣,请参阅svn help merge了解完整详情。

   - 2-URL Merge Example -

 Two features have been developed on separate branches called 'foo' and
 'bar'. It has since become clear that 'bar' should be combined with
 the 'foo' branch for further development before reintegration.

 Although both feature branches originate from trunk, they are not
 directly related -- one is not a direct copy of the other. A 2-URL
 merge is necessary.