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

Re: Suggestion: Display M-to-N lines replacement as one change instead of two

From: Dmitry <wipedout_at_yandex.ru>
Date: Tue, 02 Feb 2010 10:42:42 +0300

I've stepped over for a while - DiffData.cpp code clearly interprets data in the uniform manner - in one case it adds "deleted"+"added", then "empty"+"added", in another - first "deleted"+"added", then "added"+"empty".

The difference clearly arises from how the data is interpreted in the view - in BaseView.cpp on line 2096 the end of new block is calculated. The calculation yields different results for the two cases - when more lines are on the right the end is the last inserted line on the right, but when more lines are on the left the block end is the last changed line in both views.

Best wishes.
Dmitry.
Best wishes.
Dmitry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2444049

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-02 08:42:53 CET

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.