[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Is there really no way to keep the file modification time intact?

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-03-01 15:37:26 CET

Frans Knibbe wrote:
>
>> Sounds like you should just be writing a wrapper script to go around
>> "svn checkout", which itself calls svn checkout, then mucks with the
>> modification dates of the checked-out files in whatever way you like.
>>
>>
>> [1] I did write a script to implement a post-checkout hook, but it is
>> a server-side script, of course; it does not do anything on the client:
>> http://www.ryandesign.com/svnhookdispatcher

> Thank you for your suggestions. I have done some testing and I think I
> will choose the option to set the system time to the file modification
> time before each commit. It is a simple solution and I think it is
> sufficient for our purposes. All migrated files will have recorded
> commit times equalling file modification times. All future changes will
> just have a commit time, but this time will not differ much from the
> file modification time if users don't wait too long before comitting.

That sounds absolutely horrible in any scenario that could possibly have
multiple users or concurrent commits happening at once.

-- 
   Les Mikesell
    lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 1 15:44:38 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.