[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: Les Mikesell <lesmikesell_at_gmail.com>
Date: Tue, 10 Jun 2008 11:41:56 -0500

Reedick, Andrew wrote:
> Actually, "svn ls -v ... | sort" would be your friend. Instead of
> sorting by timestamp, you're sorting by last changed revision number,
> which in most cases is as good as or more accurate than timestamps.

Is there a handy tool to do that and update file timestamps in a way
that everything else will understand (so web servers will know when
resend, for example)?

> As for timestamps in general, they're a recommendation, not an absolute
> truth. The only trusted way to manage versioned files in the wild is to
> audit them either via checksums or bit comparisons. So the real
> solution to timestamps is to develop an auditing system that's as
> easy/fast to use as eyeballing timestamps. Which implies creating
> baselines and more importantly, accurately recording what baseline
> should be where.

Does svn do that when deciding which files have been changed compared to
the pristine copies?

> Once you can push a button to determine if you have the correct set of
> files, the desire for accurate timestamps diminishes greatly.

And svn?

   Les Mikesell
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-10 18:41:23 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.