You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by gs...@apache.org on 2010/06/03 23:30:07 UTC

svn commit: r951169 - /subversion/trunk/subversion/libsvn_wc/upgrade.c

Author: gstein
Date: Thu Jun  3 21:30:07 2010
New Revision: 951169

URL: http://svn.apache.org/viewvc?rev=951169&view=rev
Log:
Use an iterpool as a scratch pool (pre-loop) for better memory use.

* subversion/libsvn_wc/upgrade.c:
  (migrate_props): use iterpool for a couple function calls

Modified:
    subversion/trunk/subversion/libsvn_wc/upgrade.c

Modified: subversion/trunk/subversion/libsvn_wc/upgrade.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/upgrade.c?rev=951169&r1=951168&r2=951169&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/upgrade.c (original)
+++ subversion/trunk/subversion/libsvn_wc/upgrade.c Thu Jun  3 21:30:07 2010
@@ -1066,11 +1066,11 @@ migrate_props(const char *wcroot_abspath
 
   /* Migrate the props for "this dir".  */
   SVN_ERR(migrate_node_props(wcroot_abspath, "", sdb, original_format,
-                             scratch_pool));
+                             iterpool));
 
   /* Go find all the children of the wcroot. */
   SVN_ERR(svn_wc__db_read_children(&children, db, wcroot_abspath,
-                                   scratch_pool, scratch_pool));
+                                   scratch_pool, iterpool));
 
   /* Iterate over the children, as described above */
   for (i = 0; i < children->nelts; i++)