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. br...@wandisco.com