/[Apache-SVN]
ViewVC logotype

Revision 1563361


Jump to revision: Previous Next
Author: breser
Date: Sat Feb 1 01:25:15 2014 UTC (10 years, 3 months ago)
Changed paths: 8
Log Message:
Don't canonicalize properties when doing a foreign copy.

Presumably if you're doing a foreign copy you don't have control over the
remote repo and you need to pull in whatever it has so as to be useful.

* subversion/include/svn_wc.h
  (svn_wc_add_from_disk2): deprecate in favor of ...
  (svn_wc_add_from_disk3): which lets you skip property canonicalization

* subversion/libsvn_wc/adm_ops.c
  (svn_wc_add_from_disk2): Replace with ...
  (svn_wc_add_from_disk3): new version of function with skip_checks arg.

* subversion/libsvn_wc/deprecated.c
  (svn_wc_add_from_disk2): Deprecated function moved here.

* subversion/libsvn_client/copy_foreign.c
  (ensure_added, file_close, svn_client__copy_foreign): Update
    svn_wc_add_from_disk2() call to svn_wc_add_from_disk3() with TRUE
    for skip_checks arg
  (dir_change_prop, file_change_prop): Update comments to match new function

* subversion/libsvn_client/add.c
  (add_file, add_dir_recursive, add): Update svn_wc_add_from_disk2() call to
    svn_wc_add_from_disk3() with FALSE for the skip_checks arg
* subversion/libsvn/client/merge.c
  (merge_dir_opened): ...
* subversion/libsvn/client/patch.c
  (create_missing_parents, install_patched_target,
   install_patched_prop_targets): ...
* subversion/tests/libsvn_wc/utils.c
  (sbox_wc_add): ...


Changed paths

Path Details
Directorysubversion/trunk/subversion/include/svn_wc.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/add.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/copy_foreign.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/merge.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/patch.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/adm_ops.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/deprecated.c modified , text changed
Directorysubversion/trunk/subversion/tests/libsvn_wc/utils.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26