You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2012/11/13 13:03:52 UTC

Re: svn commit: r1408686 - /subversion/trunk/subversion/svnmucc/svnmucc.c

rhuijben@apache.org wrote on Tue, Nov 13, 2012 at 11:57:02 -0000:
> Author: rhuijben
> Date: Tue Nov 13 11:57:01 2012
> New Revision: 1408686
> 
> URL: http://svn.apache.org/viewvc?rev=1408686&view=rev
> Log:
> Apply some correctness and debug easing changes on svnmucc.
> 
> @@ -792,8 +785,10 @@ execute(const apr_array_header_t *action
>        head = base_revision;
>      }
>  
> +  memset(&root, 0, sizeof(root));
>    root.children = apr_hash_make(pool);
>    root.operation = OP_OPEN;
> +  root.kind = svn_node_dir; /* For setting properties */

I considered this, but it was already set this way, and svn_node_dir != 0, 
so I assumed it got intentionally set to svn_node_dir somewhere.

>    root.prop_mods = apr_hash_make(pool);
>    root.prop_dels = apr_array_make(pool, 1, sizeof(const char *));