Allow a dir to be patch target if the patch only deals with properties.
Allow a dir to be patch target if the patch only deals with properties.

* subversion/libsvn_client/patch.c
  (patch_target_t): Add fields 'has_text_changes' and 'has_prop_changes'
    to be able to decide if we should install tmp files for text and/or
    props. It's needed since we may have a dir as a target for a
    property. If we'd try to copy the tmp file for the text changes onto
    a dir we get an error.
  (resolve_target_path): Add new parameter 'prop_changes_only' to help
    us determine the case when a dir is a valid target.
  (init_patch_target): Update caller of resolve_target_path().
  (apply_hunk): Record if we've done any changes to props or text
    content.
  (apply_patches): Only call install_patched_target() if we have changed
    the text content.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion