You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@gmail.com> on 2008/12/09 23:34:36 UTC

Re: svn commit: r34630 - trunk/subversion/libsvn_wc

Looks like all callers of load_props() make a hash table before
calling the function. I'd suggest moving the apr_hash_make inside the
function.

On Tue, Dec 9, 2008 at 15:26, Hyrum K. Wright <hy...@hyrumwright.org> wrote:
> Author: hwright
> Date: Tue Dec  9 15:25:59 2008
> New Revision: 34630
>
> Log:
> Centralize some wc property fetching.
>
> * subversion/libsvn_wc/props.c
>  (load_prop_file): Rename from this...
>  (load_props): ...to this, and modify to accept a path in the working copy,
>    not a property file path.
>  (svn_wc__load_props, svn_wc__wcprop_list, modified_props): Adjust callers.
>
> Modified:
>   trunk/subversion/libsvn_wc/props.c
>
>...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=981915

Re: svn commit: r34630 - trunk/subversion/libsvn_wc

Posted by "Hyrum K. Wright" <hy...@mail.utexas.edu>.
Bhuvaneswaran A wrote:
> On Tue, 2008-12-09 at 15:34 -0800, Greg Stein wrote:
>> Looks like all callers of load_props() make a hash table before
>> calling the function. I'd suggest moving the apr_hash_make inside the
>> function.
> 
> It is true. I'll come up with a patch for this fix.

I appreciate the enthusiasm, but since I caused the "problem", I was already
working on a solution.  r34648.

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=982334

Re: svn commit: r34630 - trunk/subversion/libsvn_wc

Posted by Bhuvaneswaran A <bh...@collab.net>.
On Tue, 2008-12-09 at 15:34 -0800, Greg Stein wrote:
> Looks like all callers of load_props() make a hash table before
> calling the function. I'd suggest moving the apr_hash_make inside the
> function.

It is true. I'll come up with a patch for this fix.

> On Tue, Dec 9, 2008 at 15:26, Hyrum K. Wright <hy...@hyrumwright.org> wrote:
> > Author: hwright
> > Date: Tue Dec  9 15:25:59 2008
> > New Revision: 34630
> >
> > Log:
> > Centralize some wc property fetching.
> >
> > * subversion/libsvn_wc/props.c
> >  (load_prop_file): Rename from this...
> >  (load_props): ...to this, and modify to accept a path in the working copy,
> >    not a property file path.
> >  (svn_wc__load_props, svn_wc__wcprop_list, modified_props): Adjust callers.
> >
> > Modified:
> >   trunk/subversion/libsvn_wc/props.c
> >
> >...
> 
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=981915
-- 
Regards,
Bhuvaneswaran

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=982027