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/03 18:26:42 UTC

svn commit: r1054690 - /subversion/trunk/subversion/svnadmin/main.c

Author: hwright
Date: Mon Jan  3 17:26:42 2011
New Revision: 1054690

URL: http://svn.apache.org/viewvc?rev=1054690&view=rev
Log:
* subversion/svnadmin/main.c
  (set_revprop): Update deprecated function call: svn_subst_translate_string2().

Modified:
    subversion/trunk/subversion/svnadmin/main.c

Modified: subversion/trunk/subversion/svnadmin/main.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnadmin/main.c?rev=1054690&r1=1054689&r2=1054690&view=diff
==============================================================================
--- subversion/trunk/subversion/svnadmin/main.c (original)
+++ subversion/trunk/subversion/svnadmin/main.c Mon Jan  3 17:26:42 2011
@@ -1182,7 +1182,8 @@ set_revprop(const char *prop_name, const
   prop_value->data = file_contents->data;
   prop_value->len = file_contents->len;
 
-  SVN_ERR(svn_subst_translate_string(&prop_value, prop_value, NULL, pool));
+  SVN_ERR(svn_subst_translate_string2(&prop_value, NULL, NULL, prop_value,
+                                      NULL, pool, pool));
 
   /* Open the filesystem  */
   SVN_ERR(open_repos(&repos, opt_state->repository_path, pool));