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

Re: 1.6 vs. 1.8: strange behavior of 'svn diff -cN WC-FILE' if the file was created in rev N by copying

From: Ben Reser <ben_at_reser.org>
Date: Tue, 25 Jun 2013 23:35:49 +0200

On Tue, Jun 25, 2013 at 11:29 PM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:
> Wow, wait a minute. Are you suggesting removing the (existing)
> diff-copy-from option from 'svnlook diff'? Why? What's wrong with it?
> It provides very useful functionality. I definitely use it for
> post-commit mails, because it makes them much more focused on the
> interesting diff portion. It's very clear in what it does, and it does
> it well :-).

No, I didn't realize that it already existed, thought you were
proposing to add it.

> I see no inconsistency here. 'svnlook diff' simply has an option (a
> very good one IMHO) that 'svn diff' doesn't have. And that option
> happens to solve the issue at hand (albeit only for svnlook right now,
> not for svn).

Yeah, in that case we ought to just add the option --diff-copy-from to
svn. --git should imply the --diff-copy-from option, since we should
represent the copies as extended headers.
Received on 2013-06-25 23:36:26 CEST

This is an archived mail posted to the Subversion Dev mailing list.