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 2010/01/15 20:25:44 UTC

svn commit: r899775 - /subversion/trunk/subversion/libsvn_wc/update_editor.c

Author: hwright
Date: Fri Jan 15 19:25:44 2010
New Revision: 899775

URL: http://svn.apache.org/viewvc?rev=899775&view=rev
Log:
* subversion/libsvn_wc/update_editor.c
  (close_directory): Don't read an entry, just use the wc_db API.

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

Modified: subversion/trunk/subversion/libsvn_wc/update_editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/update_editor.c?rev=899775&r1=899774&r2=899775&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/update_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/update_editor.c Fri Jan 15 19:25:44 2010
@@ -3023,13 +3023,13 @@
      deleted (issue #1672). */
   if (db->was_incomplete)
     {
-      const svn_wc_entry_t *entry;
       int i;
       apr_hash_t *props_to_delete;
+      svn_wc__db_kind_t kind;
 
-      SVN_ERR(svn_wc__get_entry(&entry, db->edit_baton->db, db->local_abspath,
-                                TRUE, svn_node_unknown, FALSE, pool, pool));
-      if (entry == NULL)
+      SVN_ERR(svn_wc__db_read_kind(&kind, db->edit_baton->db,
+                                   db->local_abspath, TRUE, pool));
+      if (kind == svn_wc__db_kind_unknown)
         {
           base_props = apr_hash_make(pool);
           working_props = apr_hash_make(pool);