[[[ Make svn diff to send the copyfrom info by default. Can use the "--show-copies-as-adds" option to retain the copied contents as added (as it existed so far). * build.conf (): Included 'libsvn_ra' to the libsvn_wc * subversion/libsvn_ra/deprecated.c (): deprecated svn_ra_do_diff3 (svn_ra_do_diff2): made it to call the svn_ra_do_diff3. * subversion/libsvn_ra/wrapper_template.h (compat_do_diff): pass FALSE for 'send_copyfrom_args' argument in do_diff function. * subversion/libsvn_ra/ra_loader.c (svn_ra_do_diff4): introduced 'send_copyfrom_args' argument. pass 'send_copyfrom_args' argument in do_diff function. * subversion/libsvn_ra/ra_loader.h svn_ra__vtable_t: introduced 'send_copyfrom_args' argument in do_diff. * subversion/libsvn_ra_local/ra_plugin.c (svn_ra_local__do_diff): introduced 'send_copyfrom_args' argument. * subversion/libsvn_ra_svn/client.c (ra_svn_diff): introduced 'send_copyfrom_args' option and pass it to svn_ra_svn_write_cmd function. * subversion/include/svn_wc.h (svn_wc_get_diff_editor6): introduced the ra_session. * subversion/include/svn_ra.h (): deprecated svn_ra_do_diff3 and introduced the svn_ra_do_diff4 to accept 'send_copyfrom_args' argument. * subversion/libsvn_wc/deprecated.c (svn_wc_get_diff_editor5): introduced ra_session to svn_wc_get_diff_editor6 and corrected the indentation. * subversion/libsvn_wc/diff.c (): included the svn_ra.h header file. (): persisted the ra_session, copyfrom file, copyfrom path and pristine properties in the edit_baton. (make_edit_baton) : introduced the ra_session. (get_file_from_ra): newly added to fetch file from repository. (add_file) : support copyfrom by making use of the copyfrom info. (apply_textdelta) : makes use of the copyfrom_temp file making use of the copyfrom info. (close_file) : makes use of the copyfrom info and tweaked the file_changed to display the copyfrom revision number. (svn_wc_get_diff_editor6) : introduced the ra_session. pass NULL for ra_session to make_edit_baton. * subversion/libsvn_client/repos_diff.c edit_baton: store the value of send_copyfrom_args. (get_file_from_ra): introduced the 'path' argument to pass the copyfrom_path. (diff_deleted_dir): passed path in the 'path' argument. (delete_entry): pass 'path' in the get_file_from_ra function. (add_file): if copyfrom_revision is valid, add the file from the copy-source. (close_file): if diff_copy_from is set, call the file_changed callback. (svn_client__get_diff_editor): introduced the 'send_copyfrom_args' argument and assigned it in the edit baton. * subversion/libsvn_client/client.h (svn_client__get_diff_editor): introduced the 'send_copyfrom_args' argument. * subversion/libsvn_client/merge.c (drive_merge_report_editor): pass true for send_copyfrom_args to svn_ra_do_diff4 function and false for svn_client__get_diff_editor funtion. * subversion/libsvn_client/diff.c (diff_repos_repos): if send_copyfrom_args is set, show the copied contents as added. (diff_repos_wc): if send_copyfrom_args is set, show the copied contents as added. Created a new ra_session to get file from ra. (do_diff): perform diff with respect to the send_copyfrom_args argument. (diff_summarize_repos_repos): pass false for 'send_copyfrom_args' to svn_ra_do_diff4 function. * subversion/libsvn_ra_neon/ra_neon.h (svn_ra_neon__do_diff): introduced the 'send_copyfrom_args' argument. * subversion/libsvn_ra_neon/fetch.c (svn_ra_neon__do_diff): introduced the 'send_copyfrom_args' argument and pass it to make_reporter. * subversion/libsvn_ra_serf/ra_serf.h (svn_ra_serf__do_diff): introduced the 'send_copyfrom_args' argument. * subversion/libsvn_ra_serf/update.c (svn_ra_serf__do_diff): introduced the 'send_copyfrom_args' argument and pass it to make_update_reporter. * subversion/svnserve/serve.c (diff): introduced the 'send_copyfrom_args' argument and pass it to accept_reporter. * subversion/libsvn_ra_svn/protocol (): updated diff to accept show-copies-as-adds as boolean. * subversion/tests/cmdline/diff_tests.py (): added a new test diff_against_copysource_by_default. Patch by: Prabhu Gnana Sundar Reviewed by: Kamesh Jayachandran ]]]