Hi,

I have attached a patch that fixes few deprecation warnings while compiling libsvn_client/log.c.
Attached log message also.

Thanks & Regards,
Vijayaguru
[[[
Reslove some deprecation warnings using uri/dirent functions in its respective
places.

* subversion/libsvn_client/log.c
  (svn_client_log5): Use 'svn_uri_condense_targets()' and
  'svn_dirent_condense_targets()'

Patch by: Vijayaguru G <vi...@collab.net>
Suggested by: kameshj
]]]
Index: subversion/libsvn_client/log.c
===================================================================
--- subversion/libsvn_client/log.c	(revision 1051468)
+++ subversion/libsvn_client/log.c	(working copy)
@@ -459,8 +459,8 @@
         return SVN_NO_ERROR;
 
       /* Find the base URL and condensed targets relative to it. */
-      SVN_ERR(svn_path_condense_targets(&url_or_path, &condensed_targets,
-                                        target_urls, TRUE, pool));
+      SVN_ERR(svn_uri_condense_targets(&url_or_path, &condensed_targets,
+                                       target_urls, TRUE, pool, pool));
 
       if (condensed_targets->nelts == 0)
         APR_ARRAY_PUSH(condensed_targets, const char *) = "";
@@ -476,7 +476,8 @@
      * we use our initial target path to figure out where to root the RA
      * session, otherwise we use our URL. */
     if (SVN_CLIENT__REVKIND_NEEDS_WC(peg_rev.kind))
-      SVN_ERR(svn_path_condense_targets(&ra_target, NULL, targets, TRUE, pool));
+      SVN_ERR(svn_dirent_condense_targets(&ra_target, NULL, targets,
+                                          TRUE, pool, pool));
     else
       ra_target = url_or_path;
 

Reply via email to