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

Re: Subversion erase original date of files ??

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-09-16 17:39:49 CEST

Franck.fd.Dupuy@alcatel.fr wrote on 09/16/2004 11:35:26 AM:

> I'm working with subversion to make of a WindowsXP master.
> This master is quite complex with several batch for several sites and
> countries, including several setting and drivers... so it NEED to be
versionned
>
> The problem is when I have imported the master in Subversion, all thes
dates
> of all the files have been reseted to the initial import date.
> -> This IS a problem because some of our scripts use dates of files to
know if
> the file is up-to-date. (like DLLs & Hotfixes)
>
> Is there is a way to make subversion keeping the original date of files
?

No. I believe the default is that the files will get the current
date/time of the checkout. There is a configuration setting that will set
the date/time to the last commit date/time. It is possible that is the
default. The repository does not store the file last modification
date/time. You could perhaps wrapper the svn ci and svn co/up commands in
a script which set this as a file property in the repository and then
restore it to the actual file upon co. Changing the file date/time might
cause problems if this is a WC. If you are using svn export it would not
be an issue though.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 16 17:40:27 2004

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.