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.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
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.