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

Re: pristine store design

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Wed, 3 Mar 2010 17:40:34 +0300

On Wed, Mar 3, 2010 at 5:34 PM, Bert Huijben <bert_at_qqmail.nl> wrote:
>> > On Windows you get an access denied (bad) and a 15 second delay retrying
>> the
>> > move (worse).
>> >
>> > So we should try to avoid overwriting existing files here. (I would guess
>> > that tools like rsync and incremental backusp also like that we don't change
>> > the date of these files)
>> >
>> That's not correct. Windows API function MoveFileEx has option to
>> overwrite destination file [1]. apr_file_rename() uses MoveFileEx with
>> MOVEFILE_REPLACE_EXISTING flag, so it should replace existing file.
>
> The text above talks about the case that another application has the file open.
>
Ok, didn't get it.

-- 
Ivan Zhakov
VisualSVN Team
Received on 2010-03-03 15:41:10 CET

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.