vgeorgescu@tigris.org writes:
> Author: vgeorgescu
> Date: Mon Sep 10 11:19:17 2007
> New Revision: 26513
>
> Log:
> When updating (at svn_depth_unknown) a depth-immediates directory, make
> sure newly added subdirectories get a depth of svn_depth_empty.
>
> * subversion/libsvn_wc/update_editor.c
> (dir_baton): New field 'depth'.
> (make_dir_baton): Calculate the depth of an added directory.
> (prep_directory): Remove the depth argument, pass db->depth
> to svn_wc_ensure_adm3().
> (open_root, open_directory): Store the depth of the directory in db->depth.
> (add_directory): Don't calculate the new dir's depth here, we do that in
> make_dir_baton() now. Update the call to prep_directory().
>
> * subversion/tests/cmdline/depth_tests.py
> (depth_immediates_receive_new_dir): New test.
> (test_list): Add depth_immediates_receive_new_dir().
Nice!
(I reviewed it; no comments, just wanted you to know there had been
another pair of eyes on it.)
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 11 20:26:08 2007