[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r26513 - in trunk/subversion: libsvn_wc tests/cmdline

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-09-11 20:29:30 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.