[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: <Franck.fd.Dupuy_at_alcatel.fr>
Date: 2004-09-16 20:45:12 CEST

Thanks for your answer Mark, but : OMG :(
This is a major issue for our project, and I believe, a major issue for a
proper use of subversion in the wintel world.

As these files have not been modified by the development process, we were
expecting their "creation date" will be kept safe.

Beside the fact that the hotfix process is impacted by the modification of
the date of the files, the whole replication process (diffusion of the
master thought the WAN onto different sites) is impacted : Because ALL all
the files seems to have changed for the replication tools (wich is using
date of files to make a delta of files to replicate).

Franck DUPUY
Alcanet International France
MEP - Conformité des processus
01 69 76 98 44
(2107 9844)

Mark Phippard <MarkP@softlanding.com>
16/09/2004 17:39
 
        To: Franck FD DUPUY/FR/ALCATEL@ALCATEL
        cc: users@subversion.tigris.org
        Subject: Re: Subversion erase original date of files ??

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 20:46:03 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.