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