subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r951169 - /subversion/trunk/subversion/libsvn_wc/upgrade.c
Date Thu, 03 Jun 2010 21:30:07 GMT
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++)



Mime
View raw message