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

Re: svn diff doesn't show files created by svn move or svn copy

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 19 Jan 2010 17:30:39 +0100

On Tue, Jan 19, 2010 at 05:02:33PM +0100, Stein Somers wrote:
> >Does anyone know why svn diff doesn't show files created by svn move or
> >svn copy?
>
> Because a move or copy doesn't change file contents. "svn status"
> shows what has changed in general, "svn diff" zooms in on changed
> file contents.

Either way of looking at the diff of a copied file is valid.

In 1.6 svn diff cannot create a meaningful unidiff to feed to
patch(1) because of this restriction.

In 1.7 svn diff will have an --show-copies-as-adds option.
This has already been implemented in trunk (it does not work
for URL<->URL diffs yet but for all other cases it works).

Stefan
Received on 2010-01-19 17:31:20 CET

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

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