-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Log: Instead of using a separate bool variable, use `svn_path_is_url()'. * subversion/libsvn_client/log.c (svn_client_log5): Remove the bool variable `is_url' which is used only once and substitute with `svn_path_is_url(path)'. Patch by: Kannan R <kann...@collab.net> - -- Thanks & Regards, Kannan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBSxlIknlTqcY7ytmIAQJ/lQf/dFJBVlhGp7jZnW57VOt8VxZDcuY4wOjO Xi1kgRbVRSgYA1Y0hVidKeXUOy52cAlwsXsYKE0YTKCuHv7afDhX7QXqy1IrfKrQ BDRO/TfsdVtLthaT3mpH7WP57MXD5GXFL1BtEA3Wum03MKB4hfF102+FnyZfYlMJ yD7EaYkSKX3RWnNuVgesb09KCw3ID2MfWnusLj7pxuB1mAy3YkhHgmbaUOrWGjjM tSAQGDgO2fFbv1Fm7FJIOUat1s3l/fSV5erOtbyvTKvwXhLXVWJGtl49mZ/jaIAq K+w9IIje6C15xm5daDFQOoVR2j9AgLzLtyjUw1L29xAisCzPVXkBSw== =ql0X -----END PGP SIGNATURE-----
Index: subversion/libsvn_client/log.c =================================================================== --- subversion/libsvn_client/log.c (revision 887205) +++ subversion/libsvn_client/log.c (working copy) @@ -313,7 +313,6 @@ { svn_ra_session_t *ra_session; const char *url_or_path; - svn_boolean_t is_url; svn_boolean_t has_log_revprops; const char *actual_url; apr_array_header_t *condensed_targets; @@ -333,7 +332,6 @@ /* Use the passed URL, if there is one. */ url_or_path = APR_ARRAY_IDX(targets, 0, const char *); - is_url = svn_path_is_url(url_or_path); session_opt_rev.kind = svn_opt_revision_unspecified; for (i = 0; i < revision_ranges->nelts; i++) @@ -406,7 +404,7 @@ } /* Use the passed URL, if there is one. */ - if (is_url) + if (svn_path_is_url(url_or_path)) { /* Initialize this array, since we'll be building it below */ condensed_targets = apr_array_make(pool, 1, sizeof(const char *));