You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/04/12 12:41:39 UTC

svn commit: r1091365 - in /subversion/trunk/subversion/libsvn_wc: adm_files.c adm_files.h

Author: rhuijben
Date: Tue Apr 12 10:41:38 2011
New Revision: 1091365

URL: http://svn.apache.org/viewvc?rev=1091365&view=rev
Log:
Following up on r1091364, remove now unused function.

* subversion/libsvn_wc/adm_files.c
  (svn_wc__get_pristine_text_status): Delete function.

* subversion/libsvn_wc/adm_files.h
  (svn_wc__get_pristine_text_status): Delete function.

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

Modified: subversion/trunk/subversion/libsvn_wc/adm_files.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_files.c?rev=1091365&r1=1091364&r2=1091365&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_files.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_files.c Tue Apr 12 10:41:38 2011
@@ -455,26 +455,6 @@ svn_wc__get_working_checksums(const svn_
   return SVN_NO_ERROR;
 }
 
-
-svn_error_t *
-svn_wc__get_pristine_text_status(apr_finfo_t *finfo,
-                                 svn_wc__db_t *db,
-                                 const char *local_abspath,
-                                 apr_pool_t *result_pool,
-                                 apr_pool_t *scratch_pool)
-{
-  const char *text_base_abspath;
-
-  SVN_ERR(svn_wc__text_base_path_to_read(&text_base_abspath,
-                                         db, local_abspath,
-                                         scratch_pool, scratch_pool));
-  SVN_ERR(svn_io_stat(finfo, text_base_abspath,
-                      APR_FINFO_MIN | APR_FINFO_LINK,
-                      result_pool));
-  return SVN_NO_ERROR;
-}
-
-
 /*** Opening and closing files in the adm area. ***/
 
 svn_error_t *

Modified: subversion/trunk/subversion/libsvn_wc/adm_files.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_files.h?rev=1091365&r1=1091364&r2=1091365&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_files.h (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_files.h Tue Apr 12 10:41:38 2011
@@ -116,19 +116,6 @@ svn_wc__text_base_path_to_read(const cha
                                apr_pool_t *result_pool,
                                apr_pool_t *scratch_pool);
 
-/* Set *FINFO to the status of the pristine text of LOCAL_ABSPATH in DB.
-   Only the following fields are guaranteed to be set:
-     APR_FINFO_TYPE
-     APR_FINFO_SIZE
-     APR_FINFO_MTIME
- */
-svn_error_t *
-svn_wc__get_pristine_text_status(apr_finfo_t *finfo,
-                                 svn_wc__db_t *db,
-                                 const char *local_abspath,
-                                 apr_pool_t *result_pool,
-                                 apr_pool_t *scratch_pool);
-
 /* Set *RESULT_ABSPATH to the path of the ultimate base text of the
    versioned file LOCAL_ABSPATH in DB.  In WC-1 terms this means the
    "normal text-base" or, if the node is replaced by a copy or move, the