[cvsnt] "Copying" a branch to trunk

Tony Eva teva at Airspan.com
Wed Dec 27 12:27:49 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.


Arthur Barrett wrote: 
> > 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.

The command "cvs update -jHEAD -j<branch> <file>" will copy the branch
file to the trunk and create a mergepoint.  I believe that it will
simply overwrite the trunk version with the branch version, without
attempting to merge  -- at least, that's what it does whenever I use
it.

HTH

-- 
Tony


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