Guo Rui <timmyguo@mail.ustc.edu.cn>
r31131 | kfogel | 2008-05-12 01:26:02 -0500 (Mon, 12 May 2008)
* subversion/include/svn_client.h, subversion/libsvn_client/add.c
(svn_client_add3): Map non-recursive to svn_depth_empty for
compatibility with pre-1.5 API, as should have done in r28827.
Patch by: Guo Rui <timmyguo@mail.ustc.edu.cn>
r31102 | kfogel | 2008-05-08 15:37:44 -0500 (Thu, 08 May 2008)
* subversion/libsvn_client/add.c
(svn_client_add4): Unfold some duplicated code. No functional change.
Patch by: Guo Rui <timmyguo@mail.ustc.edu.cn>
r31101 | kfogel | 2008-05-08 15:26:46 -0500 (Thu, 08 May 2008)
Introduce svn_wc_add3(), which takes a depth parameter. This makes
'svn add --depth' work the same way as commit, update, etc.
Patch by: Guo Rui <timmyguo@mail.ustc.edu.cn>
* subversion/include/svn_wc.h, subversion/libsvn_wc/adm_ops.c
(svn_wc_add3): New function.
(svn_wc_add2): Deprecate.
* subversion/libsvn_wc/copy.c
(copy_added_file_administratively, copy_added_dir_administratively,
copy_dir_administratively): Call svn_wc_add3 now.
* subversion/libsvn_client/merge.c
(merge_dir_added): Call svn_wc_add3 now.
* subversion/libsvn_client/copy.c
(repos_to_wc_copy_single): Call svn_wc_add3 now.
* subversion/libsvn_client/add.c
(add_file, add_dir_recursive, add_parent_dirs): Call svn_wc_add3 now.
(add): Same, and always call add_dir_recursive for directories.
Add braces to conditional chain, for readability.
(svn_cl__make_local_parents): Call svn_client_add4 with svn_depth_infinity.
* subversion/tests/cmdline/depth_tests.py
(add_tree_with_depth): New name for add_tree_with_depth_files.
Verify the depth, and test --force and --parents.
(test_list): Adjust accordingly.
r30738 | kfogel | 2008-04-21 11:40:15 -0500 (Mon, 21 Apr 2008)
Add test case to verify that folding a subtree will not destroy to content of
unversioned & modified items.
Patch by: Guo Rui <timmyguo@mail.ustc.edu.cn>
(Only minor tweaks by me.)
* subversion/tests/cmdline/depth_tests.py
(fold_tree_with_unversioned_modified_items): New test.
(test_lists): Run it XFail
r30673 | stylesen | 2008-04-18 07:12:38 -0500 (Fri, 18 Apr 2008)
Add test case to checkout a subtree with depth immediates and verify the same.
* subversion/tests/cmdline/depth_tests.py
(pull_in_tree_with_depth_option): New, pull in directory A with
--depth=immediates and see whether the depth of A is set to immediates
(test_list): Add pull_in_tree_with_depth_option
Patch by: Guo Rui <timmyguo@mail.ustc.edu.cn>
(Tweaked by me)
r30672 | stylesen | 2008-04-18 07:08:55 -0500 (Fri, 18 Apr 2008)
* subversion/tests/cmdline/depth_tests.py
(depth_fold_expand_clean_trees): Fix a silly bug caused by copy/paste.
The last expected_status assignment should be expected_disk.
Patch by: Guo Rui <timmyguo@mail.ustc.edu.cn>
r30664 | kfogel | 2008-04-17 12:26:37 -0500 (Thu, 17 Apr 2008)
Add tests for issue #2843, the as-yet-unimplemented depth fold-up behavior.
Patch by: Guo Rui <timmyguo@mail.ustc.edu.cn>
(I made minor tweaks to doc strings, comments, and formatting.)
* subversion/tests/cmdline/depth_tests.py
(depth_folding_clean_trees_1, depth_folding_clean_trees_2,
depth_fold_expand_clean_trees): New tests.
(test_list): Run them XFail.
r30296 | kfogel | 2008-04-04 16:11:13 -0500 (Fri, 04 Apr 2008)
* notes/sparse-directories.txt: Bring back some examples demonstrating
the deselection of sub-trees, put into a special unimplemented section.
Patch by: Guo Rui <timmyguo@mail.ustc.edu.cn>
r30251 | kfogel | 2008-04-03 21:24:51 -0500 (Thu, 03 Apr 2008)
Documentation improvements for sparse-directories / --depth support.
Suggested by: Guo Rui <timmyguo@mail.ustc.edu.cn>
* subversion/include/svn_types.h
(svn_depth_unknown): Document how client and server may interpret this.
* notes/sparse-directories.txt: Clarify various things.