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


From: Ted Stern
Subject: Re: CVS update, set date on local harddrive to same as the repository
Date: Thu, 08 May 2003 10:05:59 -0700
User-agent: Gnus/5.09002 (Oort Gnus v0.20) Emacs/21.2 (usg-unix-v)

On 8 May 2003, Larry Jones wrote:
> Erik Andersson writes:
>>
>> MIME-Version: 1.0
>> Content-Type: text/html;
>
> Please do not send MIME and/or HTML encrypted messages to the list.
> Plain text only, PLEASE!
>
>> 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?
>
> Yes, do a fresh checkout into a new directory instead of updating an
> existing directory.
>

I have a question related to this:

On several systems I work on, we have work partitions that are periodically
pruned of files that haven't been accessed in the last week or two.

When I do a fresh cvs checkout, my files have both access and mod time set to
the filestamp in the repository.  Unfortunately, if the pruning job spots
those before I've had a chance to 'touch -a' them, they get removed.

Is it possible to tell cvs checkout/update to preserve the mod time of the
repository file but update the access time?

[Reading and posting via Gmane]

Ted
-- 
 Ted Stern                                 Applications Group
 Cray Inc.                               office: 206-701-2182
 411 First Avenue South, Suite 600         cell: 206-383-1049
 Seattle, WA 98104-2860                     FAX: 206-701-2500

 Frango ut patefaciam -- I break that I may reveal
 (The Paleontological Society motto, equally apropos for debugging)





reply via email to

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