How to reintegrate a SVN branch into trunk with Netbeans?
Asked Answered
J

2

6

I created a branch from trunk. As development on my branch is finished, I want to merge (reintegrate) my branch into trunk. Is there an option or setting to enable? It seems Netbeans 7.1 isn't able to reintegrate a branch into trunk.

Am I wrong?

Jeff answered 27/1, 2012 at 13:22 Comment(3)
+1, I would very much like to know this, too.Saltzman
+1 Me too, it just seems not to be possible without CLITwit
Did you create the branch with Netbeans? You could just use the command line svn merge --non-interactive {branch url}. The --non-interactive is to avoid asking what to do with conflicts, then you just resolve them and commit. TortoiseSVN if you are on Windows does provide a GUI for merges too if you don't want to use the command line.Rabe
M
4

For Netbeans 8.2 you can use "Merge Changes..." to do that (not sure if this is also in netbeans 7.x available):

  1. Right click your project/folder/file you want to merge
  2. Choose "Subversion" - "Copy" - "Merge Changes..."
  3. Following the merging assistent

More information are here: https://netbeans.org/kb/docs/ide/subversion.html#merging

Molasses answered 26/1, 2017 at 10:2 Comment(0)
F
-1

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.

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.

Friesian answered 2/7, 2013 at 14:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.