[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question - commiting modified file
From: |
Steve Greenland |
Subject: |
Re: Question - commiting modified file |
Date: |
Thu, 10 Jan 2002 09:21:08 -0600 |
User-agent: |
Mutt/1.2.5i |
On Wed, Jan 09, 2002 at 11:00:09AM -0800, Anjali Madhekar wrote:
> 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.
[Channelling GW] "Why on earth are you storing generated files in CVS?"
> 1. Do they have 'modified' status due to the file creation time stamp?
I've never seen CVS do this. Are you perhaps using WinCVS?
> 2. Out of 20-30 files that are generated, some may actually be
> different. So how do I checkin only those that changed?
Check in all of them. CVS will actually only work on those that have
changed. As you yourself note.
> 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?
Again, I think you must be using WinCVS. Just do an update on the directory.
But your primary problem is that you're storing non-source files in CVS,
which is *wrong*. Bad. Unwise. Pretty much any other negative adjective
you care to think of. Don't do it, and you'll be happier.
Steve