Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: TortoiseMerge cannot diff when files are locked for write

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

Re: TortoiseMerge cannot diff when files are locked for write

Author steveking
Full name Stefan Küng
Date 2012-05-11 12:25:18 PDT
Message On 11.05.2012 21:19, Oto BREZINA wrote:

>> Not sure if that would be ok since I don't know of any way to detect that.
> How is file which exposing reported problem locked for write? I guess it
> not readonly file flag.
> Can I simulate that?

You can open a file with GENERIC_WRITE access and FILE_SHARE_READ. Then
you could open that file for reading if you also allow FILE_SHARE_WRITE.
But apps that open files for writing with FILE_SHARE_READ can do that
easily: it's up to the reading app to deal with the issues I mentioned
above.

Stefan

--
        ___
   oo // \\ "De Chelonian Mobile"
  (_,\/ \_/ \ TortoiseSVN
    \ \_/_\_/> The coolest Interface to (Sub)Version Control
    /_/ \_\ http://tortoisesvn.net

« Previous message in topic | 6 of 9 | Next message in topic »

Messages

Show all messages in topic

TortoiseMerge cannot diff when files are locked for write joshg Josh Green 2012-05-10 17:07:01 PDT
     Re: TortoiseMerge cannot diff when files are locked for write steveking Stefan Küng 2012-05-11 11:59:41 PDT
         Re: TortoiseMerge cannot diff when files are locked for write otik Oto BREZINA 2012-05-11 12:05:33 PDT
             Re: TortoiseMerge cannot diff when files are locked for write steveking Stefan Küng 2012-05-11 12:08:30 PDT
                 Re: TortoiseMerge cannot diff when files are locked for write otik Oto BREZINA 2012-05-11 12:19:53 PDT
                     Re: TortoiseMerge cannot diff when files are locked for write steveking Stefan Küng 2012-05-11 12:25:18 PDT
                         Re: TortoiseMerge cannot diff when files are locked for write otik Oto BREZINA 2012-05-11 12:43:43 PDT
                             RE: Re: TortoiseMerge cannot diff when files are locked for write joshg Josh Green 2012-05-14 00:55:03 PDT
                                 Re: TortoiseMerge cannot diff when files are locked for write otik Oto BREZINA 2012-05-14 02:12:09 PDT
Messages per page: