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

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

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-19 08:17:17 CET

> wow well sorry that you took my email as a personal attack on you. I
> tried
> to keep the content to the point and short.

I didn't. I don't think of it as a personal attack. Maybe I was a bit harsh,
but what would you do in my position if someone writes a big BUG in the
subject line? I mean if I think I found a bug in an other app, the first
thing I ask myself: is it really a bug or am I just doing something wrong?
And most of the time it's me who's doing something wrong, not the app (or
the dev who writes it). I'm not automatically assuming that if something
doesn't work as I expect that it has to be the app which has a bug - I'm not
perfect either and maybe it's me who has the 'bug'.

> Anyway, I didn't make any white space changes at all... In fact I use
> TextPad and it automatically removes all whitespace for me whenever I
> save.

Maybe it does a little bit more than that.

> All I did to test this theory out was open a file, press the space bar,
> remove the space then save the file. When I diff it using TortoiseDiff it
> shows me that I have erased and then added some lines back in.

Do the following:
- make a copy of a file under version control (a normal filesystem copy, not
a subversion copy)
- open the original file in your text editor
- add a space, remove the space again and save the file

Now: use a HEX-editor and open both the original file which you've edited
and the copy of that file before it was edited.
You will see that there's something different. Either your text editor has
changed some whitespaces, or it added/removed UNICODE BOM's, changed the
line endings from LF to CRLF, or ...

You can be assured that the files won't be identical if Subversion/TSVN
shows you them as modified.
(think about it: if it would be as you say, that would be a major bug in
Subversion and would have been noticed by other people too - and that bug
would have been fixed right away).

> And I don't think I should have to revert when I know that the file hasn't
> changed?

No, you shouldn't. But as I said: check your file. You _will_ find that it
actually has changed. Just in a way you can't see right away.

Stefan

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jan 19 08:17:49 2005

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

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