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

Re: Subversion checked-out files not indexed in Windows search

From: Branko Čibej <brane_at_wandisco.com>
Date: Tue, 18 Mar 2014 10:26:27 +0100

On 17.03.2014 17:29, Pete wrote:
> Ivan Zhakov <ivan <at> visualsvn.com> writes:
>
>> On 10 March 2014 18:25, Gareth McCaughan
>> <Gareth.McCaughan <at> lightblueoptics.com> wrote:
>>> It appears that files checked out using Subversion (1.7 onwards)
>>> are marked as not indexable by Windows search. The way in which
>>> this happens appears to be as follows:
> Wouldn't it be the easiest way to copy the temporary file (in such a case
> it gets the default attributes and ACLs of the destination folder) and
> after that erase the original temporary file?

Easiest, yes. Correct, no. Copying a file is not atomic; renaming is,
and we depend on the atomic behaviour of rename to keep working copies
consistent. That's ignoring the fact that a rename usually takes the
same amount of time regardless of the size of the file, whereas copy
does not.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-03-18 10:27:04 CET

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

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