firemeteor_at_tigris.org writes:
> Log:
> On the issue-2843-dev branch.
>
> * subversion/libsvn_wc/crop.c
> (crop_children): Shrow an exception on un-expected entry kind.
Just following up to let you know I reviewed it -- looks good, and
thanks for remembering to call svn_path_local_style() :-).
-Karl
> --- branches/issue-2843-dev/subversion/libsvn_wc/crop.c Mon Jun 16 09:01:36 2008 (r31760)
> +++ branches/issue-2843-dev/subversion/libsvn_wc/crop.c Tue Jun 17 05:21:40 2008 (r31761)
> @@ -26,6 +26,8 @@
> #include "svn_path.h"
> #include "entries.h"
>
> +#include "svn_private_config.h"
> +
> /* Evaluate EXPR. If it returns an error, return that error, unless
> the error's code is SVN_ERR_WC_LEFT_LOCAL_MOD, in which case clear
> the error and do not return. */
> @@ -163,7 +165,9 @@ crop_children(svn_wc_adm_access_t *adm_a
> }
> else
> {
> - /* TODO(2843): What about svn_node_none & svn_node_unkown? */
> + return svn_error_createf
> + (SVN_ERR_NODE_UNKNOWN_KIND, NULL, _("Unknown entry kind for '%s'"),
> + svn_path_local_style(this_path, pool));
> }
>
> if (notify_func)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: svn-help_at_subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-18 05:06:29 CEST