[cvsnt] "Copying" a branch to trunk

Arthur Barrett arthur.barrett at march-hare.com
Wed Dec 27 12:07:45 GMT 2006

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


> My problem is this. Some months ago I started a branch to experiment 
> with some improvements. The experiment was successful, and the 
> branch code should become the trunk now - the old code will be 
> abandoned - maybe just some maintenance fixes on its own branch. 
> It is already all checked in and tagged.

In future do this on the trunk - anything "official" should be branched and maintained on the branch.  If you needed to "revert" the trunk back that would have been easy.

> Is there any way to "copy" a branch to the trunk (HEAD)? I mean, to 
> perform a merge without CVS generating conflicts?

As it is, probably the easiest way is to checout the trunk and checkout the branch into different directories and just copy the files from the branch sandbox to the trunk sandbox and then commit.  This obviously will NOT create a mergepoint.



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook