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

Re: Checked out files don't preserve file date

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-02 09:08:45 CET

On Feb 1, 2007, at 11:35, Les Mikesell wrote:

> Eric wrote:
>
>> At 10:18 AM 2/1/2007, Steve Bakke wrote:
>> <SB>>>>>Yes, this was intentional. Subversion doesn't store the
>> local modification time upon checkin. This has come up on the
>> list recently, and no there isn't any way around it.<<<<<
>> Good morning, Steve.
>> Do you know if CVS did it that way?
>
> CVS sets the timestamp to match the commit time, not the timestamp
> of the committed file. But if you check the same thing out twice,
> the timestamps will match.

And since nobody has mentioned it in this thread, I'll mention it
now: you can configure Subversion to do the same thing (on checkout
or update, set the files' dates not to the current time but to the
commit time). Simply uncomment the line "use-commit-times = yes" in
the file ~/.subversion/config.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 2 09:09:20 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.