[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 12:49:54 +0100

On Wed, 2008-07-30 at 12:34 +0200, Stefan K√ľng wrote:
> Ed McDonagh wrote:
> >
> > The problem is that sometimes various files are marked as modified (red
> > exclamation mark) when in fact they haven't been. Sometimes it is
>
> Do they also show up as modified in the commit dialog?

Yes

> That depends on the application with which you open the files. Some
> applications modify every file when opening, writing some "last viewed"
> or "last opened" date string to the files.
> If you have such applications: get rid of those. It's a clear indication
> that the developers of those apps don't use version control - and I
> don't think I have to tell you what that means for the quality of those
> apps.
>

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.

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.

BUT, this doesn't lead to subversion thinking it has been modified,
despite the difference in checksum. When you open the file, the tick
changes to an exclamation mark, and when you close without saving it
returns to being a green tick!

So now I'm thoroughly confused about how subversion decides a file is
modified or not.

Ed
#########################################################################
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 13:50:08 CEST

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