subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1099221 - /subversion/trunk/subversion/libsvn_wc/info.c
Date Tue, 03 May 2011 20:12:03 GMT
Author: hwright
Date: Tue May  3 20:12:03 2011
New Revision: 1099221

URL: http://svn.apache.org/viewvc?rev=1099221&view=rev
Log:
* subversion/libsvn_wc/info.c
  (build_info_for_entry): Directly fetch the depth from wc-db.

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

Modified: subversion/trunk/subversion/libsvn_wc/info.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/info.c?rev=1099221&r1=1099220&r2=1099221&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/info.c (original)
+++ subversion/trunk/subversion/libsvn_wc/info.c Tue May  3 20:12:03 2011
@@ -156,8 +156,13 @@ build_info_for_entry(svn_info2_t **info,
 
   if (tmpinfo->kind == svn_node_dir)
     {
-      SVN_ERR(svn_wc__node_get_depth(&tmpinfo->wc_info->depth, wc_ctx,
-                                     local_abspath, scratch_pool));
+      SVN_ERR(svn_wc__db_read_info(NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+                                   NULL, NULL, &tmpinfo->wc_info->depth,
+                                   NULL, NULL, NULL, NULL, NULL, NULL,
+                                   NULL, NULL, NULL, NULL, NULL, NULL,
+                                   NULL, NULL, NULL, NULL, NULL,
+                                   wc_ctx->db, local_abspath, scratch_pool,
+                                   scratch_pool));
 
       if (tmpinfo->wc_info->depth == svn_depth_unknown)
         tmpinfo->wc_info->depth = svn_depth_infinity;



Mime
View raw message