Author: breser
Date: Mon Aug 18 12:19:16 2014
New Revision: 1618589

URL: http://svn.apache.org/r1618589
Log:
Stop using some deprecated functions.

* subversion/mod_dav_svn/util.c
  (get_last_history_rev): Use svn_fs_node_history2() and svn_fs_history_prev2()
    instead of their predecessors to silence deprecation warning.

Modified:
    subversion/trunk/subversion/mod_dav_svn/util.c

Modified: subversion/trunk/subversion/mod_dav_svn/util.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/util.c?rev=1618589&r1=1618588&r2=1618589&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/util.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/util.c Mon Aug 18 12:19:16 2014
@@ -177,10 +177,10 @@ get_last_history_rev(svn_revnum_t *revis
   const char *ignored;
 
   /* Get an initial HISTORY baton. */
-  SVN_ERR(svn_fs_node_history(&history, root, path, pool));
+  SVN_ERR(svn_fs_node_history2(&history, root, path, pool, pool));
 
   /* Now get the first *real* point of interesting history. */
-  SVN_ERR(svn_fs_history_prev(&history, history, FALSE, pool));
+  SVN_ERR(svn_fs_history_prev2(&history, history, FALSE, pool, pool));
 
   /* Fetch the location information for this history step. */
   return svn_fs_history_location(&ignored, revision, history, pool);


Reply via email to