You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2010/09/01 18:02:52 UTC

svn commit: r991581 - in /subversion/trunk/subversion/libsvn_wc: wc_db.c wc_db.h

Author: julianfoad
Date: Wed Sep  1 16:02:52 2010
New Revision: 991581

URL: http://svn.apache.org/viewvc?rev=991581&view=rev
Log:
* subversion/libsvn_wc/wc_db.h,
  subversion/libsvn_wc/wc_db.c
  (svn_wc__db_temp_remove_subdir_record): Remove in single-DB mode.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc_db.c
    subversion/trunk/subversion/libsvn_wc/wc_db.h

Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=991581&r1=991580&r2=991581&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Wed Sep  1 16:02:52 2010
@@ -9395,6 +9395,7 @@ svn_wc__db_temp_get_file_external(const 
 }
 
 
+#ifndef SVN_WC__SINGLE_DB
 svn_error_t *
 svn_wc__db_temp_remove_subdir_record(svn_wc__db_t *db,
                                      const char *local_abspath,
@@ -9432,6 +9433,7 @@ svn_wc__db_temp_remove_subdir_record(svn
 
   return SVN_NO_ERROR;
 }
+#endif
 
 svn_error_t *
 svn_wc__db_temp_op_set_file_external(svn_wc__db_t *db,

Modified: subversion/trunk/subversion/libsvn_wc/wc_db.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.h?rev=991581&r1=991580&r2=991581&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.h (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.h Wed Sep  1 16:02:52 2010
@@ -2389,11 +2389,13 @@ svn_wc__db_temp_get_file_external(const 
                                   apr_pool_t *scratch_pool);
 
 
+#ifndef SVN_WC__SINGLE_DB
 /* Remove a stray "subdir" record in the BASE_NODE table.  */
 svn_error_t *
 svn_wc__db_temp_remove_subdir_record(svn_wc__db_t *db,
                                      const char *local_abspath,
                                      apr_pool_t *scratch_pool);
+#endif
 
 /* Set file external information on LOCAL_ABSPATH to REPOS_RELPATH
    at PEG_REV with revision REV*/