[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Question - commiting modified file

From: Bishop, Murray
Subject: RE: Question - commiting modified file
Date: Fri, 11 Jan 2002 08:06:54 +1100

Anjali Madhekar wrote Thursday, January 10, 2002 6:00 AM:

> When I generate some files during the build, they appear as 'modified'
> in CVS. when I do a 'diff' the exit status is '0' indicating that the
> files are indentical.
> 1. Do they have 'modified' status due to the file creation time stamp?

> 2. Out of 20-30 files that are generated, some may actually be
> different. So how do I checkin only those that changed? 
Just use an ordinary checkin.
'cvs ci' won't checking a file unless its content has
changed. change of timestamp is used as a hint to decide which
file contents to compare.

> 3. After doing a 'commit' on a file that appears modified but is
> identical, CVS does not check in that file. But the file continues to
> appear as 'modified'. How can I get it to show the status as current?
'cvs status' will do that.

You might be better off not keeping files generated by
the build in CVS. 
Instead simply keep the source files for your build. 

Murray (What follows will have been inserted by others)

Privacy: ACNielsen collects personal information to provide and market 
our services. We may disclose this information to authorised third 
parties that assist us in doing this. You may access personal information 
we hold about you, subject to the Federal Privacy Act. For more information
see our privacy policy at or contact us on 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]