[cvsnt] Re: Unmodified files committed when merging from a branch

Glen Starrett grstarrett at cox.net
Fri Apr 22 16:56:10 BST 2005


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.


jacob.alvarezbenedicto at telefonica.es wrote:
> Hi,
> 
> Two weeks ago I merged one of the branches  we have, I will call it
> BR1, with the HEAD branch.  Some files that were not modified in BR1
> appeared as modified in HEAD after the merge.  I expected that these files
> would not be commited, because cvs diff command returns no diferences at
> all, but for my suprise, cvsnt committed them. Last week I know that if a
> file timestamp is different from the one in the repository it may be marked
> as modified, but when committing cvsnt will check the modifications, if
> they don't exist cvsnt should not committ the file unless I specifiy that
> option.  Why in the case of the merge this is not accomplished.  The
> problem is not critic, but when merging I have to check if this rare case
> arises to committ these files with a  message that indicates that the file
> has not been chaned, so the repository will store revision that shouldn't.
> 
> These happens with a few files, our repository stores lots of files, but
> only a few show this problem.  I have not found a connection between them
> for now. Does somebody knows what the problem is?
> 
> I am using CVSNT 2.0.58d as server and WinCVS 1.3.20.2 Beta 20 (build 2).

It used to happen to all files, but Tony fixed it to eliminate "null 
deltas" some time back.  Can you confirm that those files in question 
were never committed to your branch prior to the merge operation?  It's 
possible that you added some small whitespace change that your diff 
utility isn't showing but CVS will notice.  Otherwise, I'd be curious 
too, but I don't think it's a big deal in practice (IMHO, of course).


-- 
Glen Starrett



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