info-cvs
[Top][All Lists]
Advanced

[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: Jim.Hyslop
Subject: RE: How to tell CVS that it should use the proper date/time
Date: Thu, 8 Jul 2004 15:12:28 -0400

address@hidden wrote:
> >I'm not sure I follow this. How would using the timestamp of the file
> >instead of the time of checkin break make?
> 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 y.tab.c and y.tab.h 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.
I think I was unclear - I meant the timestamp that the file had before it
was checked in, not the timestamp of the file when it was checked out. I
*think* that's what the OP was looking for.

In other words, if I last modified the file on June 30, and checked it in on
July 1, currently when you check out the file, CVS will set its timestamp to
the check-in time of July 1. If, instead, CVS set its time to the last
modified time of June 30, how would that break make?


-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)




reply via email to

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