[Top][All Lists]

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

Re: Question - commiting modified file

From: Larry Jones
Subject: Re: Question - commiting modified file
Date: Thu, 10 Jan 2002 10:59:07 -0500 (EST)

Anjali Madhekar writes:
> 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?

Yes (although it's actually the modification 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? Is there some
> thing like a force checkin which allows me to checkin all files with the
> updated comment? (Though the file appears 'modified' CVS does not seem
> to commit it if it is actually an identical file, is this correct?)

Correct -- if you do a general commit, CVS will check the files that may
have been modified to see if they were actually modified and only commit
those that were actually modified.  Usually, that also corrects the
status, but doing an update or status will also correct the displayed

-Larry Jones

It's SUSIE!  It's a GIRL!  Santa would understand! -- Calvin

reply via email to

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