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

Re: svn commit: r1082786 - in /subversion/trunk/subversion: include/private/svn_skel.h include/private/svn_wc_private.h libsvn_client/externals.c libsvn_client/prop_commands.c libsvn_subr/skel.c libsvn_wc/props.c libsvn_wc/wc_db.c libsvn_wc/wc_db.h

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 18 Mar 2011 14:08:25 -0400

On Thu, Mar 17, 2011 at 21:46, <pburba_at_apache.org> wrote:
> Author: pburba
> Date: Fri Mar 18 01:46:39 2011
> New Revision: 1082786
>
> URL: http://svn.apache.org/viewvc?rev=1082786&view=rev
> Log:
> Leverage the recent improvements to svn proplist -R[1] so that svn propget -R
> can do away with svn_wc__node_walk_children().
>
> [1] See r1066541 and r1071283.
>
> This is a redo of r1082658, see
> http://svn.haxx.se/dev/archive-2011-03/0558.shtml
>
> * subversion/include/private/svn_skel.h
> * subversion/libsvn_subr/skel.c
>  (svn_skel__parse_prop): New.
>
> * subversion/include/private/svn_wc_private.h
>
>  (svn_wc__prop_list_recursive): Optionally list only a particular property.
>
> * subversion/libsvn_client/externals.c
>
>  (svn_client__crawl_for_externals): Update call to
>  svn_wc__prop_list_recursive(), forgoing the optional filtering.
>
> * subversion/libsvn_client/prop_commands.c
>
>  (propget_walk_baton,
>   propget_walk_cb): Delete this svn_wc__node_found_func_t callback and
>   its baton and replace them with...
>
>  (recursive_propget_receiver_baton,
>   recursive_propget_receiver): ...this svn_wc__proplist_receiver_t
>   callback and its baton.
>
>  (get_prop_from_wc): Reimplement using svn_wc__prop_list_recursive()
>   instead of svn_wc__node_walk_children().
>
>  (svn_client_proplist3): Update call to svn_wc__prop_list_recursive(),
>   forgoing the optional filtering.
>
> * subversion/libsvn_wc/props.c
>
>  (svn_wc__prop_list_recursive): Optionally list only a particular property.
>   Update call to svn_wc__db_read_props_streamily().
>
> * subversion/libsvn_wc/wc_db.c
>
>  (svn_wc__db_read_props_streamily): Optionally list only a particular
>   property.
>
> * subversion/libsvn_wc/wc_db.h
>
>  (svn_wc__db_read_props_streamily): Optionally list only a particular
>   property.
>

Cool. Thanks!

Cheers,
-g
Received on 2011-03-18 19:08:57 CET

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.