[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: Wed, 11 Jun 2008 10:54:45 -0500

Erik Huelsmann wrote:

>>
>> Note to self. Be really careful with 'cp -p' and 'tar xpf' when working
>> in a view.
>
> We don't have views, but yes, that's true. The problem has been
> reduced in 1.5 by taking the file size into account too.

On Linux/unix you should consider ctime too since it is much harder for
it to be backdated compared to an actual file change. In fact, even
trying to backdate the mtime will cause ctime to be updated to the
current time. Of course it will get updated on the pristine file as
well if you move the whole tree, but any mismatch (ctime, mtime, or
length) could trigger the content check.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
---------------------------------------------------------------------
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-11 17:54:14 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.