You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/01/12 17:19:57 UTC

svn commit: r1058220 - /subversion/branches/ignore-mergeinfo-log/subversion/libsvn_ra/compat.c

Author: hwright
Date: Wed Jan 12 16:19:57 2011
New Revision: 1058220

URL: http://svn.apache.org/viewvc?rev=1058220&view=rev
Log:
On the ignore-mergeinfo-log branch:
Update some deprecated calls to svn_ra_get_log2().

* subversion/libsvn_ra/compat.c
  (svn_ra__locations_from_log, svn_ra__location_segments_from_log,
   svn_ra__get_deleted_rev_from_log): Use svn_ra_get_log3().

Modified:
    subversion/branches/ignore-mergeinfo-log/subversion/libsvn_ra/compat.c

Modified: subversion/branches/ignore-mergeinfo-log/subversion/libsvn_ra/compat.c
URL: http://svn.apache.org/viewvc/subversion/branches/ignore-mergeinfo-log/subversion/libsvn_ra/compat.c?rev=1058220&r1=1058219&r2=1058220&view=diff
==============================================================================
--- subversion/branches/ignore-mergeinfo-log/subversion/libsvn_ra/compat.c (original)
+++ subversion/branches/ignore-mergeinfo-log/subversion/libsvn_ra/compat.c Wed Jan 12 16:19:57 2011
@@ -344,8 +344,8 @@ svn_ra__locations_from_log(svn_ra_sessio
      Notice that we always run on the youngest rev of the 3 inputs. */
   targets = apr_array_make(pool, 1, sizeof(const char *));
   APR_ARRAY_PUSH(targets, const char *) = path;
-  SVN_ERR(svn_ra_get_log2(session, targets, youngest, oldest, 0,
-                          TRUE, FALSE, FALSE,
+  SVN_ERR(svn_ra_get_log3(session, targets, youngest, oldest, 0,
+                          TRUE, FALSE, FALSE, FALSE,
                           apr_array_make(pool, 0, sizeof(const char *)),
                           log_receiver, &lrb, pool));
 
@@ -569,8 +569,8 @@ svn_ra__location_segments_from_log(svn_r
      Notice that we always run on the youngest rev of the 3 inputs. */
   targets = apr_array_make(pool, 1, sizeof(const char *));
   APR_ARRAY_PUSH(targets, const char *) = path;
-  SVN_ERR(svn_ra_get_log2(session, targets, peg_revision, end_rev, 0,
-                          TRUE, FALSE, FALSE,
+  SVN_ERR(svn_ra_get_log3(session, targets, peg_revision, end_rev, 0,
+                          TRUE, FALSE, FALSE, FALSE,
                           apr_array_make(pool, 0, sizeof(const char *)),
                           gls_log_receiver, &lrb, pool));
 
@@ -689,10 +689,10 @@ svn_ra__file_revs_from_log(svn_ra_sessio
   /* Accumulate revision metadata by walking the revisions
      backwards; this allows us to follow moves/copies
      correctly. */
-  SVN_ERR(svn_ra_get_log2(ra_session,
+  SVN_ERR(svn_ra_get_log3(ra_session,
                           condensed_targets,
                           end, start, 0, /* no limit */
-                          TRUE, FALSE, FALSE,
+                          TRUE, FALSE, FALSE, FALSE,
                           NULL, fr_log_message_receiver, &lmb,
                           pool));
 
@@ -779,7 +779,7 @@ svn_ra__file_revs_from_log(svn_ra_sessio
 
 /*** Fallback implementation of svn_ra_get_deleted_rev(). ***/
 
-/* svn_ra_get_log2() receiver_baton for svn_ra__get_deleted_rev_from_log(). */
+/* svn_ra_get_log3() receiver_baton for svn_ra__get_deleted_rev_from_log(). */
 typedef struct log_path_del_rev_t
 {
   /* Absolute repository path. */
@@ -859,8 +859,8 @@ svn_ra__get_deleted_rev_from_log(svn_ra_
 
   /* Examine the logs of SESSION's URL to find when DELETED_PATH was first
      deleted or replaced. */
-  SVN_ERR(svn_ra_get_log2(session, NULL, peg_revision, end_revision, 0,
-                          TRUE, TRUE, FALSE,
+  SVN_ERR(svn_ra_get_log3(session, NULL, peg_revision, end_revision, 0,
+                          TRUE, TRUE, FALSE, FALSE,
                           apr_array_make(pool, 0, sizeof(char *)),
                           log_path_del_receiver, &log_path_deleted_baton,
                           pool));