Re: svn_io_sleep_for_timestamps not sleeping long enough

2014-03-25 Thread Justin Erenkrantz
On Mon, Mar 24, 2014 at 1:35 PM, Julian Foad wrote: > But, compared with the present 1 ms that's inadequate on many systems and the > 1 second that's too much on some but not enough on others, I would be happy > with simply increasing the 1 ms to 10 ms for a "quick fix" if we don't want > to in

Re: svn_io_sleep_for_timestamps not sleeping long enough

2014-03-25 Thread Philip Martin
Branko Čibej writes: > I would guess that the easiest way to solve this would be to > periodically touch and stat the WC root dir until its mtime changes. > Unfortunatesly, sleep-for-timestamps has not the slightest idea where > the WC root might be ... svn_io_sleep_for_timestamps does get an op

Re: svn_io_sleep_for_timestamps not sleeping long enough

2014-03-25 Thread Branko Čibej
On 24.03.2014 19:47, Philip Martin wrote: > Julian Foad writes: > >> Philip Martin wrote: >> >>> Julian Foad writes: >Modify: 2014-03-24 16:40:17.566569826 + >Modify: 2014-03-24 16:40:17.570569785 + Is it possible to query the system clock resolution at run time? That

Re: svn_io_sleep_for_timestamps not sleeping long enough

2014-03-24 Thread Philip Martin
Julian Foad writes: > Philip Martin wrote: > >> Julian Foad writes:   Modify: 2014-03-24 16:40:17.566569826 +   Modify: 2014-03-24 16:40:17.570569785 + >>> >>> Is it possible to query the system clock resolution at run time? That >>> would seem best. >> >> I believe the sy

Re: svn_io_sleep_for_timestamps not sleeping long enough

2014-03-24 Thread Julian Foad
Philip Martin wrote: > Julian Foad writes: >>>   Modify: 2014-03-24 16:40:17.566569826 + >>>   Modify: 2014-03-24 16:40:17.570569785 + >> >> Is it possible to query the system clock resolution at run time? That >> would seem best. > > I believe the system clock resolution is differen

Re: svn_io_sleep_for_timestamps not sleeping long enough

2014-03-24 Thread Philip Martin
Julian Foad writes: >>   Modify: 2014-03-24 16:40:17.566569826 + >>   Modify: 2014-03-24 16:40:17.570569785 + > > Is it possible to query the system clock resolution at run time? That > would seem best. I believe the system clock resolution is different from the filesystem resolution. -

Re: svn_io_sleep_for_timestamps not sleeping long enough

2014-03-24 Thread Julian Foad
h 2014, 17:27 > Subject: svn_io_sleep_for_timestamps not sleeping long enough > > I'm seeing that checkout does not always sleep for long enough for > timestamp-based change detection to be reliable: > >   svnadmin create repo >   svn -mm import repo/format file://`pwd`/repo/f >   svn co

svn_io_sleep_for_timestamps not sleeping long enough

2014-03-24 Thread Philip Martin
I'm seeing that checkout does not always sleep for long enough for timestamp-based change detection to be reliable: svnadmin create repo svn -mm import repo/format file://`pwd`/repo/f svn co file://`pwd`/repo wc echo x > wc/f svn st wc For some checkouts status shows the modification of