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

Re: import files preserving timestamps

From: Mark Reibert <svn_at_reibert.com>
Date: Sat, 07 Jun 2008 22:19:48 -0700

On Sat, 2008-06-07 at 12:08 -0500, Les Mikesell wrote:
> As a counter argument, there are times when timestamps matter even if
> they aren't absolutely critical. Consider a busy web server farm with
> its code managed in subversion. All of the images, css, js, etc. can be
> set to be cached on the clients until they change, but if the timestamps
> can't be maintained to correspond to actual modifications you'll waste a
> large amount of time and bandwidth resending them unnecessarily and it
> becomes much harder to build optimizations like combining multiple
> js/css files for efficiency if you can't track their modification times.

Good - a concrete example!

So while SVN does not currently offer this option, the mtime can at
least be derived from the repo. A short script, then, can export the
files and reset the mtime as necessary. Perhaps this will not solve
everyone's problem, but it can help in situations such as described

Mark S. Reibert, Ph.D.
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-08 07:20:21 CEST

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.