[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: Tobias Bading <tbading_at_web.de>
Date: Tue, 25 Jun 2013 20:51:06 +0200

On 25.06.2013, at 20:42, Peter Samuelson wrote:
> [Tobias Bading]
>> No disrespect & thank you for the hint, but shouldn't a version
>> control system be able to answer the question "what's changed?"
>> without making you jump through hoops?
> Well, I forgot about "svn log --diff -l1 new_foo".

Good idea, but unfortunately no cigar. Same problems as diff -cN. Only works if the file was copied from rN-1 to rN. If a file was copied from rM to rN with M < N-1, 'svn log --diff -l1 FILE' performs a diff between r0 and rN just like 'svn diff -cN FILE'.
Received on 2013-06-25 20:51:43 CEST

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