Author: stsp Revision: 1341544 Modified property: svn:log Modified: svn:log at Wed May 23 11:05:50 2012 ------------------------------------------------------------------------------ --- svn:log (original) +++ svn:log Wed May 23 11:05:50 2012 @@ -1,12 +1,11 @@ -Fix repos->wc diff of a single file, i.e. "svn diff -rN FILE". +Fix repos->wc diff of a copied or moved file, i.e. "svn diff -rN FILE" where +FILE is a copy or moved-here file. The repos->wc diff with a file target is supposed to compare the working or pristine file to the corresponding file in the specified revision. However, probably since r1096082, such a diff would always show the deletion -of the file instead of the expected diff. This is because the diff editor -isn't suitable for this use case and produces the wrong result. If the target -was a directory the correct diff was already displayed because the diff editor -works fine in this case. +of copied/moved files instead of the expected diff. This is because the diff +editor isn't suitable for this use case and produces the wrong result. * subversion/libsvn_client/diff.c (diff_repos_wc_file_target): New helper function that handles a single file
