Search code examples
eclipsesvnrabbitvcs

SVN How can i add 2 new files from one branch to another branch?


I have a branch which have 2 new files .I want to merge those files to another branch - NOT trunk?

Is it actually merge ?- because the new files are not in destination branch

I tried to do a check out of branchB and try to merge the files from BranchA

but gives me some error .What is the proper way to do it?

One more question - If i check out an existing branch , is it creating a new branch or just its copy in my local system?


Solution

  • Just Checkout the branch that you want to add the files and add them manually then commit. trunk or any other folder is treated the same. It's just a folder.

    Checking out will copy files from server into your local system. depending on destination in your system it will copy new files and/or will give you warning if there are modified files in the destination.