Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reintegrate a SVN branch into trunk with Netbeans?

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?

like image 254
ocornu Avatar asked Jan 27 '12 13:01

ocornu


People also ask

How do I switch from SVN to trunk branch?

To switch back, just provide the URL to the location in the repository from which you originally checked out your working copy: $ svn switch http://svn.red-bean.com/repos/trunk/vendors .

What is SVN reintegrate?

It may not refer to the revision you think it does if someone else made a commit after your last update. If you leave the range of revisions empty or have the radio button all revisions checked, then Subversion merges all not-yet merged revisions. This is known as a reintegrate or automatic merge.

What is trunk in SVN?

The trunk is the main line of development in a SVN repository. A branch is a side-line of development created to make larger, experimental or disrupting work without annoying users of the trunk version.


1 Answers

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

like image 88
Steffen Avatar answered Oct 06 '22 01:10

Steffen