In the repos-wc diff, hook a svn diff processor filter that can transform
copies to changes, just like we currently do when not using 'show copies as
adds'

Eventually this handling should be moved to the output processing to show
that a file is added *and* its modifications.

* subversion/include/private/svn_diff_tree.h
  (svn_diff__tree_processor_copy_as_changed_create): New function.

* subversion/libsvn_diff/diff_tree.c
  (svn_diff__tree_processor_filter_create): Rename baton variable.
  (copy_as_changed_baton_t): New struct.
  (copy_as_changed_*): New functions.
  (svn_diff__tree_processor_copy_as_changed_create): New function.

* subversion/libsvn_wc/diff_editor.c
  (includes): Add assert.h.
  (make_edit_baton): Hook copy_as_changed transform.

  (file_diff,
   close_file): Use original_repos_relpath as trigger for added file
    is some kind of copy as that makes more sense to the rest of the
    code and avoids a db call.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1444537 13f79535-47bb-0310-9956-ffa450edef68