[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: Mon, 01 Feb 2010 20:06:57 +0100

On 01.02.2010 08:18, Dmitry wrote:
> One more thing I notice is that in fact it doesn't matter what is
> diffed. The only difference is how M and N are related. If N>M (more
> lines inserted than removed) it's displayed as one change. If N<M
> (more removed than inserted) it's displayed as two changes. Is this
> how diff works or how TMerge interprets data?

Have a look at the file DiffData.cpp - there's the diff and parsing code
of TMerge.

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=2443933
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-01 20:07:21 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.