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

Re: file modifications get lost due to FAT 2s time resolution

From: Martin Tomes <lists_at_tomes.org>
Date: 2004-07-19 18:06:24 CEST

kfogel@collab.net wrote:

> Martin Tomes <lists@tomes.org> writes:
>
>>FAT is also used on memory sticks. Someone here copied their working
>>copy onto a memory stick, took it home and copied the wc onto their
>>home machine and then wondered why svn status took so long. The loss
>>of timestamp precision meant that a lot of diffs were being done.
>
> I'm puzzled -- what is the exact scenario by which the loss of
> timestamp precision (when copying a working copy to FAT) causes
> 'svn status' to take a long time?

The entries file time and the actual file timestamp may differ after the precision on the file
timestamp is lost so a status has to compare the content of the file and the pristine copy in order
to find out if the file content has changed. If the time in the entries file and the datestamp on
the file match then there is no need to do the diff. This user had copied from NTFS to FAT (memory
stick) and then back to NTFS.

That is the current theory here!

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
The Subversion Wiki is at http://www.subversionary.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 19 18:06:45 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.