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

Re: bug in svn diff and related?

From: Travis P <svn_at_castle.fastmail.fm>
Date: 2005-03-16 17:58:49 CET

On Mar 16, 2005, at 6:54 AM, David Ripton wrote:

> I don't think the design intent of svn is to only support one-second
> precision, since it uses apr_time_t with microsecond precision.
>
> I suspect that the results you're seeing are due to a svn or apr bug,
> or
> a filesystem with low-resolution timestamps. What filesystem and OS
> are
> you using?

David,

Are you aware of any filesystems that maintain timestamps on files with
any finer granularity than 1 second? I believe such would be the
exception.

I see some evidence (in Linux man pages and header files) that suggests
you'll see no better than to-the-second resolution on POSIX systems.
Just because apr_time_t might have room for more precision does not
mean it is used.

As I recall from earlier list discussion, some MS-DOS filesystems,
still in use on, for example, USB flash drives, only support 2-second
granularity, which Subversion attempts to handle with carefully
inserted delays.

-Travis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 16 18:02:24 2005

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