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

Re: [TSVN] BUG: Files are labeled modfied if the date changes rather than if the file changes...

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2005-01-18 19:53:10 CET

At 13:27 18/01/2005 -0500, you wrote:

>For instance, you start making changes to a file and save as you go. The
>files is actually modified now, but then you realize you made a mistake
>and you shouldn't have edited that part, so you Undo all your work and now
>the file is where it was when you started. TortoiseSVN shows this as
>being modified, when it is in fact unmodified, that last changed date has
>just changed.

There are several things to consider here:

1. There's lots of caching, etc of overlay icons, which is not 100%
reliable, and can sometimes show something confusing.

2. Whether a file is marked as modified or not comes from the SVN libraries
- TSVN is just a snazzy way of displaying this, and doesn't determine the
state of the file itself.

3. It is not true, in general, that SVN marks files as modified if only the
date has changed. (I have just double-checked this myself here, both by
touching the file, and by doing the edit-save-undo-save cycle which you

>This is all with the most recent nightly build

Could you please take a copy of the file (away from the working copy)
before and after the 'non-modification' process, and double-check that
they're byte-for-byte identical - I suspect you'll find that there's been
some subtle change.



To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jan 18 19:54:07 2005

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