[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 14 Jan 2010 21:38:34 +0100

On 14.01.2010 09:35, Dmitry wrote:
> Hey.
>
> In Tortoise SVN whenever I replace M adjacent lines with N adjacent
> lines (M != N) this is reflected as two changes. For example, I
> replace 3 lines code fragment with 2 lines code fragment - this will
> be displayed as "replaced the first two lines with other two lines"
> and "deleted the third line".
>
> This is not very convenient. First, it generates extra data the user
> will have to analyze and finally see that it is one change - 3 lines
> replaced with 2 lines. Second, two "Next diff"s required to proceed
> to the next real change.
>
> Also VSS and Araxis Merge show such replacement as one change. If
> there're no other considerations I suggest that the described
> behaviour is changed so that such replacements are displayed as one
> change.

TortoiseMerge uses the diff library which is part of the svn library. I
don't think it's possible to configure that diff to do what you want.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2437390
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-14 21:38:48 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.