[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: Ed McDonagh <ed.mcdonagh_at_rmh.nhs.uk>
Date: Wed, 30 Jul 2008 13:33:07 +0100

On Wed, 2008-07-30 at 14:08 +0200, Stefan Küng wrote:
> Here's how Subversion checks for modifications:
> http://tortoisesvn.tigris.org/faq.html#detectmodification

That starts to make some sense. The 'modified' and the non-modified
files have exactly the same file size as the pristine version, and often
have different time stamps on them. So the time stamp would trigger a
check, which then finds some have different checksums (and are therefore
marked as 'modified') and other don't.

It also explains why files that have different checksums, but identical
timestamps and file sizes are not flagged as modified, as the checksum
is not checked.

Still doesn't explain how the checksums get changed in the first place,
when the files in question have not been browsed to, yet alone opened!

> > 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.
>
> 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).

Again, that makes sense. Just the remaining question about how they end
up with different checksums. Which isn't a TortoiseSVN issue I guess.

Thanks,
Ed

P.S. Sorry for the disclaimer each time - I can't remove it or have it
removed as it is NHS policy :-(

#########################################################################
Attention:
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary, confidential and/or
privileged information and should not be copied, disclosed, distributed,
retained or used by any other party. If you are not an intended recipient
please notify the sender immediately and delete this e-mail (including
attachments and copies).

The statements and opinions expressed in this e-mail are those of the
author and do not necessarily reflect those of the Royal Marsden NHS
Foundation Trust. The Trust does not take any responsibility for the
statements and opinions of the author.

Website: http://www.royalmarsden.nhs.uk
#########################################################################

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-07-30 14:33:22 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.