[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:47:23 -0500

Erik Huelsmann wrote:
>
>>>> Eh?
>>> I was under the impression that if the timestamps and perhaps length
>>> matched on the working/pristine copies, svn assumed the contents were
>>> identical. Perhaps this isn't correct.
>
> It's correct. And for many projects the only way to get reasonable
> performance (by not scanning the complete file).

So, consider this contrived scenario:
   Check out a workspace, modify a few files.
   Import the workspace directory into a new project.
   Remove the old workspace, replace it by exporting or checking out a copy.
   See if svn commit/status/diff still notice the changed files. (I'd
expect this to be a matter of chance).

Not that anyone is likely to do this, but it is interesting to consider
that svn itself depends on information that it doesn't preserve. That
seems philosophically wrong, somehow...

-- 
   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:46:49 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.