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

[Subclipse-users] Bug: Compare-with-remote returns "worst" alignment

From: Mats Ahlgren <mats.ahlgren_at_gmail.com>
Date: Tue, 10 Jun 2008 11:55:46 -0400

Hello,

Suspected bug:
When the character encoding of two files are different, the subclipse
comparison view shows that the "change" which occured is that 1) everything
in local is deleted, and 2) the entire file was added as a single new block,
which you can copy over from remote. This is the least likely alignment.
When I copy-paste the text into new files and run diff, I get something sane
(instead of deleting 1000 lines and adding 1000 lines, there are now only a
few lines to change).

(An alternative hypothesis is that the comparison is trying to take into
account the file type, e.g. this was a css file being merged. If that is the
case, then the above may not be due to a different character encoding.)

Sincerely,
Mats
Received on 2008-06-10 18:06:57 CEST

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