Fix copyfrom-path use for file move operations when applying a WC->WC-created svnpatch.
Fix copyfrom-path use for file move operations when applying a
WC->WC-created svnpatch.

* subversion/libsvn_client/patch.c
  (patch_cmd_baton): add deletions hash member.
  (is_removal_safe): new helper function.
  (merge_file_added): make use of the new deletions hash and
  is_removal_safe function to decide, when this involves a move, whether
  the source can be deleted or not.
  (merge_file_deleted): turn on the keep_local feature of
  svn_client__wc_delete by default and make use of the new deletions
  hash and is_removal_safe function to decide whether the file can be
  deleted from disk.
  (svn_client_patch): allocate/initialize the deletions hash table
  upon patch_cmd_baton initialization.


git-svn-id: f821e457d0bb1d6dd492bc44bc85123f7265f5d5@867027 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion