[Top][All Lists]

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

Re: Another time question

From: Derek R. Price
Subject: Re: Another time question
Date: Wed, 21 Mar 2001 15:05:54 -0500

Larry Jones wrote:

> Annette Waters writes:
> >
> > Could you please explain how the time is used by CVS. Is it used to
> > determine if a file has changed? Or, does it always look at the contents of
> > the files to determine changes?
> CVS looks at the timestamp first; if it hasn't changed, then CVS assumes
> that the file hasn't changed.  If the timestamp is different, then CVS
> looks at the contents of the file to determine whether it has changed or
> not.

Larry's description is correct, but Szabó's implies that he noticed the
exception.  When filling out a log entry for a commit in client/server mode, the
message editor is presented before the client checks the files against the
versions on the server, so the comment at the bottom can list unchanged files
with new timestamps, even though these files won't be checked in.

This won't happen if you 'cvs update' the files before you check them in.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden         CollabNet ( )
If genius is one percent inspiration and 99 percent perspiration, I
sure wind up sharing elevators with a lot of bright people.

reply via email to

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