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

Re: Different time stamps depending on the client

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-01-18 14:53:18 CET

On Wed, Jan 18, 2006 at 12:42:55PM +0100, Mathias Weinert wrote:
> Hi there,
> I just encountered the following problem using Subversion 1.3.0
> under cygwin and subclipse (nevertheless for me this is a general
> thing when using different clients):
> I first checked out a working copy using subclipse and then said
> 'svn st' from my cygwin command prompt. It took over 2 minutes
> for 'svn st' to finish whereas on another PC it only took
> some seconds.

This problem is caused because APRs UNIX implementation isnt able to read
the nanosecond part of the times returned by fstat(). In contrast, APRs
Windows implementation can, so my Windows-native binaries are producing
entries files with nanosecond resolution, correctly.

(cygwin's UNIX environment reads the times fine: just try coreutils'
'stat' command to see the result; the relevant parts have not been
changed by the cygwin packager, they're generic).

I think the right fix would be to extend APR's UNIX implementation to
read the nanosecond fields from stat(), if available. Take a look at
file_io/unix/filestat.c:fill_out_finfo() for starters, and compare to
coreutils' lib/stat-time.h.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 18 17:24:58 2006

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.