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

RE: Re: TortoiseMerge cannot diff when files are locked for write

From: Josh Green <inbilla_at_gmail.com>
Date: Mon, 14 May 2012 00:55:03 -0700 (PDT)

Hi Guys,

The Lock is applied with the following line:
(C#, .NET)

fileStream = new FileStream(
    fullPath,
    FileMode.OpenOrCreate,
    FileAccess.ReadWrite, FileShare.Read);

with regard to this:
"In other words It would solve that issue, but would quite possibly other one."
What is the other issue it would create?

Currently I can already write to the files using another program that Merge is diffing and cause the displayed information to be wildly out of date, I do it all the time, often TortoiseMerge will be running with 10's of stale files for days on end (I often don't get around to closing them)

Alternatively, the lock mentioned above might be too strict, but like I said, It does allow text editing applications to read it fine.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2960374

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-05-14 09:55:09 CEST

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