[cvsnt] Rename in branch causing merge issues

Arthur Barrett arthur.barrett at march-hare.com
Mon Feb 4 05:41:47 GMT 2008


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.


Eric,


> I have renamed some files in a branch using cvs rename and 
> committed them 
> properly (commit the directory) as per the documentation.  
> Everythign works 
> great as long as I remain within the branch.  However, when I 
> try to merge 
> the branch back into the trunk, the renamed files aren't 
> merging.  I had 
> been expecting the renamed files to replace the trunk files, but that 
> doesn't seem to be the case.

Merge will not 're-perform' renames - a merge acts on file contents not
file names.  

No matter which choice we'd make there would always be some cases where
the opposite behaviour is the one the user wants.  

You can ask on the evs.support newsgroup if a 'merge option' to take the
renames into the merge is possible.  It could probably be implemented in
CVSNT too - but I think that people who want all the fancy rename
options will switch to EVS pretty quickly since that is the only way to
solve the 'rename across directories' problem.

Does anyone know what the default merge actions on renamed files are for
other systems, eg: ClearCase, PVCS, SVN etc?  If you rename a.txt to
b.txt on branch and then merge to trunk does a.txt on trunk get the
changes or is a.txt on trunk renamed?

Regards,


Arthur




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