[Top][All Lists]

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

RE: How to tell CVS that it should use the proper date/time

From: Paul Sander
Subject: RE: How to tell CVS that it should use the proper date/time
Date: Thu, 8 Jul 2004 11:38:51 -0700

>--- Forwarded mail from address@hidden

>address@hidden wrote:
>> If you mean you want checkout to record the current timestamp of the
>> file rather than the time of the checkin, that would also break things
>> like make.
>I'm not sure I follow this. How would using the timestamp of the file
>instead of the time of checkin break make? Presumably, the file's timestamp
>would be older than the time of the checkin, and on a fresh checkout there
>won't be any targets (e.g. *.o) at all. Hmmm... well, I guess I'm assuming
>that the targets will be created in the same directory as, or a subdirectory
>of, the source directory. Is that a poor assumption? Might the targets be in
>a directory completely outside of CVS's knowledge?

The problem is that the CVS doesn't guarantee that the files are copied
into the workspace in the same order in which they were checked in.  So
for derived files like and that might be checked in
(these might be bad examples, but you know what I mean), unpleasant things
can happen if their timestamps come out in the wrong order.

>--- End of forwarded message from address@hidden

reply via email to

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