合并两个分支SVN Xcode



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

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

无论如何,这是不起作用的。首先,您必须从工作副本中运行命令(或调用对话框)。换句话说,您必须检查第一分支或中继修订。

然后,您可能会被所谓的" 2-url Merge"相关,请参阅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.

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

我如何合并两个SVN分支?

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

http://blog.assembla.com/assemblablog/tabid/12618/bid/58122/it-smet-sime-tim-the-fix-subversion-merge.aspx

就我个人而言,我不再是SVN的忠实拥护者,但我想这是一个偏爱的问题。

最新更新