2008-02-27 05:01 Troy Curtis Jr <troycurtisjr_at_gmail.com> napisaĆ(a):
> Index: subversion/svn/cl.h
> ==================================================================
> --- subversion/svn/cl.h (revision 29570)
> +++ subversion/svn/cl.h (working copy)
> @@ -555,7 +555,48 @@
> "file" or, in any other case, the empty string. */
> const char *svn_cl__node_kind_str(svn_node_kind_t kind);
>
> +/*
> + * Return true iff URL is a relative URL. Specifically that it starts
> + * with the characters "^/".
> + */
> +svn_boolean_t svn_cl__is_relative_url(const char *url);
svn_boolean_t
svn_cl__is_relative_url(const char *url);
> Index: subversion/svn/util.c
> ==================================================================
> --- subversion/svn/util.c (revision 29570)
> +++ subversion/svn/util.c (working copy)
> ...
> +svn_boolean_t
> +svn_cl__is_relative_url(const char *url)
> +{
>
> + return(strncmp("^/", url, 2) ? FALSE : TRUE);
> +}
Wrong indentation.
> svn_error_t *
> +svn_cl__resolve_relative_url(const char **absolute_url,
Wrong indentation in whole this function.
> + else if ( (root_url != NULL)
> + && (strcmp(root_url, tmp_root_url) != 0))
> + return svn_error_createf(SVN_ERR_ILLEGAL_TARGET, NULL,
> + _("All non-relative targets must have the same root url."));
> + else
> + root_url = tmp_root_url;
> + }
> +
> + /*
> + * Use the current directory's root url if one wasn't found using the
> + * arguments.
> + */
> + if (root_url == NULL)
> + {
> + if ((error = svn_client_root_url_from_path(&root_url,
> + svn_path_canonicalize(".", pool),
> + ctx, pool)))
> + return error;
> + }
Wrong indentation.
--
Arfrever Frehtes Taifersar Arahesis
Received on 2008-02-27 13:38:39 CET