subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1030149 - /subversion/trunk/subversion/libsvn_wc/adm_ops.c
Date Tue, 02 Nov 2010 18:06:57 GMT
Author: julianfoad
Date: Tue Nov  2 18:06:56 2010
New Revision: 1030149

URL: http://svn.apache.org/viewvc?rev=1030149&view=rev
Log:
* subversion/libsvn_wc/adm_ops.c
  (check_can_add_to_parent): Fix pool usage. No current effect because
    the existing callers don't care.

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

Modified: subversion/trunk/subversion/libsvn_wc/adm_ops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_ops.c?rev=1030149&r1=1030148&r2=1030149&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_ops.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_ops.c Tue Nov  2 18:06:56 2010
@@ -783,7 +783,7 @@ check_can_add_to_parent(const char **rep
                              repos_uuid, NULL, NULL, NULL, NULL, NULL, NULL,
                              NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
                              NULL, NULL, NULL, NULL,
-                             db, parent_abspath, scratch_pool, scratch_pool);
+                             db, parent_abspath, result_pool, scratch_pool);
 
   if (err
       || parent_status == svn_wc__db_status_not_present
@@ -813,7 +813,7 @@ check_can_add_to_parent(const char **rep
                              _("Can't schedule an addition of '%s'"
                                " below a not-directory node"),
                              svn_dirent_local_style(local_abspath,
-                                                 scratch_pool));
+                                                    scratch_pool));
 
   /* If we haven't found the repository info yet, find it now. */
   if ((repos_root_url && ! *repos_root_url)
@@ -824,12 +824,12 @@ check_can_add_to_parent(const char **rep
                                          repos_root_url, repos_uuid, NULL,
                                          NULL, NULL, NULL,
                                          db, parent_abspath,
-                                         scratch_pool, scratch_pool));
+                                         result_pool, scratch_pool));
       else
         SVN_ERR(svn_wc__db_scan_base_repos(NULL,
                                            repos_root_url, repos_uuid,
                                            db, parent_abspath,
-                                           scratch_pool, scratch_pool));
+                                           result_pool, scratch_pool));
     }
 
   return SVN_NO_ERROR;



Mime
View raw message