简体   繁体   English

如何使用Netbeans将SVN分支重新集成到主干中?

[英]How to reintegrate a SVN branch into trunk with Netbeans?

I created a branch from trunk. 我从trunk创建了一个分支。 As development on my branch is finished, I want to merge (reintegrate) my branch into trunk. 当我的分支上的开发完成后,我想将我的分支合并(重新集成)到trunk。 Is there an option or setting to enable? 是否有选项或设置启用? It seems Netbeans 7.1 isn't able to reintegrate a branch into trunk. 似乎Netbeans 7.1无法将分支重新集成到主干中。

Am I wrong? 我错了吗?

For Netbeans 8.2 you can use "Merge Changes..." to do that (not sure if this is also in netbeans 7.x available): 对于Netbeans 8.2,您可以使用“合并更改...”来执行此操作(不确定这是否也适用于netbeans 7.x):

  1. Right click your project/folder/file you want to merge 右键单击要合并的项目/文件夹/文件
  2. Choose "Subversion" - "Copy" - "Merge Changes..." 选择“Subversion” - “复制” - “合并更改...”
  3. Following the merging assistent 继合并之后

More information are here: https://netbeans.org/kb/docs/ide/subversion.html#merging 更多信息请访问: https//netbeans.org/kb/docs/ide/subversion.html#merging

just use another SVN user interface, for example TortoiseSVN or the svn command line tool, as those can do merges and will work on the same data as Netbeans SVN. 只需使用另一个SVN用户界面,例如TortoiseSVN或svn命令行工具,因为它们可以进行合并,并且可以使用与Netbeans SVN相同的数据。

If you have some time to spare, you could read the section "SVN merges are broken" of http://ventspace.wordpress.com/2011/03/09/understanding-subversions-problems/ and learn about distributed version control systems like git or mercurial that were created (amongst other reasons) to provide working merging in version control. 如果您有空闲时间,可以阅读http://ventspace.wordpress.com/2011/03/09/understanding-subversions-problems/上的 “SVN合并已损坏”部分,并了解分布式版本控制系统,如创建的git或mercurial(以及其他原因)在版本控制中提供工作合并。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 乌龟Svn将分支整合到主干中 - Tortoise Svn reintegrate branch into trunk 在Subversion(SVN)中重新集成到分支(而不是主干) - Reintegrate to the branch (not the trunk) in Subversion (SVN) SVN多次将同一分支重新集成到主干 - SVN Reintegrate same branch to trunk multiple times 如何将分支部分重新整合到主干? - How to partial reintegrate a branch to trunk? cherrypick svn合并分支到trunk,然后合并--reintegrate? - cherrypick svn merge branch to trunk, followed by later merge with --reintegrate? 将SVN分支重新集成回主干的最佳方法是什么(在Eclipse中)? - What is the best way to reintegrate a SVN branch back into trunk (in Eclipse)? 如何重新集成分支,覆盖尚未合并到分支的主干更改? - How to reintegrate branch, overwriting trunk changes that has not been merged into branch? 如果我想将一个分支合并到主干上,那么“svn merge --reintegrate”和没有重新整合的svn合并之间的区别是什么? - What's the difference between “svn merge --reintegrate” and svn merge without reintegrate if I'd like to merge a branch onto the trunk git-svn:重命名分支并将其用作新的SVN“ trunk”,而不是使用“ merge --reintegrate”吗? - git-svn: Rename branch and use it as new SVN 'trunk' instead of using “merge --reintegrate”? svn-“一旦--reintegrate合并从分支到主干完成,分支将不再可用于进一步的工作。” - svn - “Once a --reintegrate merge is done from branch to trunk, the branch is no longer usable for further work.”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM