info-cvs
[Top][All Lists]
Advanced

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

RE: CVS update, set date on local harddrive to same as the repository ti


From: Erik Andersson
Subject: RE: CVS update, set date on local harddrive to same as the repository time stamp
Date: Thu, 8 May 2003 15:15:30 +0200

I hope I'm not spamming to much...

We have built an update function which uses time stamp and filesize for 
comparing i new files are needed to be downloaded from our server. We want to 
build the release from CVS and therefor we need the date for each file to be 
the same as the previous release if it hasn't been modified. I know there are 
products nowaday which do that, but when we started the project there was no 
such functionality... We are using new products for this now, but for a period 
we also need the old way to work. 

Regards / Erik

-----Original Message-----
From: Max Bowsher [mailto:address@hidden
Sent: den 8 maj 2003 15:09
To: Erik Andersson; address@hidden
Subject: Re: CVS update, set date on local harddrive to same as the
repository time stamp


>> Erik Andersson wrote:
>>> I need to get some files from my CVS repository and I also need the
>>> date/time stamp for those files to be the same as in the repository. Is
>>> that possible?

> Max Bowsher wrote:
>> No, not without either modifying cvs or doing some nastily complicated
>> scripting. (You could get the dates via cvs log).

Erik Andersson wrote:
> Thank you Max for that information.
>
> Maybe there is someone who have written such a script already? It is quite
> importent for my project that we can be able to do that..

Just curious, but why? The current behaviour of cvs is for a reason -
"make", for example, would get really confused if cvs did take timestamps
from the repository on update.

Max.





reply via email to

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