[Top][All Lists]
[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: |
Paul Sander |
Subject: |
Re: CVS update, set date on local harddrive to same as the repository |
Date: |
Thu, 8 May 2003 12:55:50 -0700 |
>--- Forwarded mail from address@hidden
>On 8 May 2003, Larry Jones wrote:
>> Erik Andersson writes:
>>> 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.
>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?
Why not occasionally do a "head -1 file > /dev/null" on the files you want
to keep? And why are they pruning files based on access time? Don't they
realize that people still want their data after they return from vacation?
>--- End of forwarded message from address@hidden