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

Re: Bug? Binary files marked as modified when not touched!

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 30 Jul 2008 14:08:36 +0200

Ed McDonagh wrote:

> The application would be MS Excel, and I shudder to think what systems
> the developers use...
>
> I have been looking more closely at the checksums and the
> created/modified/accessed timestamps. As far as the timestamps go, there
> is no apparent connection between timestamps and whether the file is
> considered modified.

Here's how Subversion checks for modifications:
http://tortoisesvn.tigris.org/faq.html#detectmodification

> For each of the 'modified' files, the MD5sum for the file differed from
> the checksum for the version in .svn\text-base\. Reverting the file
> returns it to the original checksum as you would expect.
>
> However, whilst opening and then closing without saving an excel
> spreadsheet doesn't change the date stamps - even the accessed stamp -
> it does change the md5sum of the file.

That's expected: if Subversion can't access the file because another
application has it open, it treats the file as modified (actually, the
status is different, but TSVN does not have an overlay for that so it
uses the 'modified' overlay).

Stefan

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

Received on 2008-07-30 14:09:00 CEST

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

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