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

Re: WC modification detection is reading whole files

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2006-02-21 11:08:42 CET

On Tuesday 21 February 2006 00:24, Branko Čibej wrote:
...
> And that's not straight-forward, for two reasons:
>
> * In some cases, where svn_sleep_for_timestamp() is called, the
> reference to the relevant working copy is long gone, and carrying
> around the context would be horrible.
> * In other cases, we have several targets for a command which might
> not all be in the same WC.
>
> There's also a nasty edge-case (which I'm reluctant to deal with):
> someone could mount part of their working copy on a filesystem with
> different timestamp resolution (yes, I can do this on Windows, worse
> luck...)
>
> Any bright and useful ideas for solving these will be rewarded by a
> virtual beverage of choice.
Make it configureable, put a default of 2 seconds (should be safe, even for
FAT) in the config file, and make a FAQ "why does svn wait 2 seconds after wc
operations".

I don't believe in easy, correct solutions ... at least most of the time
they're neither :-)

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 21 11:10:30 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.