[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: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 26 Jun 2013 11:29:58 +0200

On Wed, Jun 26, 2013 at 12:15:22AM +0200, Branko Čibej wrote:
> The point where this breaks is when you want to create a diff that can
> be applied by plain-vanilla patch and will remove one file and add
> another one. That case requires different output, and maybe
> --show-copies-as-adds is the right option to use in that case (but I'd
> prefer to call it "--patch" or something more semantically close to the
> intended result).

You're probably looking for the --patch-compatible option which is
new in 1.8. 'svn diff' has too many options, doesn't it :)
Received on 2013-06-26 11:30:07 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.