Author: rhuijben
Date: Tue Jun 5 11:25:13 2012
New Revision: 1346350
URL: http://svn.apache.org/viewvc?rev=1346350&view=rev
Log:
Remove now unused svn_wc__wq_build_record_fileinfo() from the internal api,
but keep the operation for compatibility with items currently in wc.db.
* subversion/libsvn_wc/workqueue.c
(svn_wc__wq_build_record_fileinfo): Remove function.
* subversion/libsvn_wc/workqueue.h
(svn_wc__wq_build_record_fileinfo): Remove function.
Modified:
subversion/trunk/subversion/libsvn_wc/workqueue.c
subversion/trunk/subversion/libsvn_wc/workqueue.h
Modified: subversion/trunk/subversion/libsvn_wc/workqueue.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/workqueue.c?rev=1346350&r1=1346349&r2=1346350&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/workqueue.c (original)
+++ subversion/trunk/subversion/libsvn_wc/workqueue.c Tue Jun 5 11:25:13 2012
@@ -1254,32 +1254,6 @@ run_record_fileinfo(svn_wc__db_t *db,
scratch_pool));
}
-
-svn_error_t *
-svn_wc__wq_build_record_fileinfo(svn_skel_t **work_item,
- svn_wc__db_t *db,
- const char *local_abspath,
- apr_time_t set_time,
- apr_pool_t *result_pool,
- apr_pool_t *scratch_pool)
-{
- const char *local_relpath;
- *work_item = svn_skel__make_empty_list(result_pool);
-
- SVN_ERR_ASSERT(svn_dirent_is_absolute(local_abspath));
-
- SVN_ERR(svn_wc__db_to_relpath(&local_relpath, db, local_abspath,
- local_abspath, result_pool, scratch_pool));
-
- if (set_time)
- svn_skel__prepend_int(set_time, *work_item, result_pool);
-
- svn_skel__prepend_str(local_relpath, *work_item, result_pool);
- svn_skel__prepend_str(OP_RECORD_FILEINFO, *work_item, result_pool);
-
- return SVN_NO_ERROR;
-}
-
/* ------------------------------------------------------------------------ */
/* OP_TMP_SET_TEXT_CONFLICT_MARKERS */
Modified: subversion/trunk/subversion/libsvn_wc/workqueue.h
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/workqueue.h?rev=1346350&r1=1346349&r2=1346350&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/workqueue.h (original)
+++ subversion/trunk/subversion/libsvn_wc/workqueue.h Tue Jun 5 11:25:13 2012
@@ -182,22 +182,6 @@ svn_wc__wq_build_prej_install(svn_skel_t
apr_pool_t *result_pool,
apr_pool_t *scratch_pool);
-/* Set *WORK_ITEM to a new work item that will record file information of
- LOCAL_ABSPATH into the TRANSLATED_SIZE and LAST_MOD_TIME of the node via
- the svn_wc__db_global_record_fileinfo() function.
-
- If SET_TIME is not 0, set LOCAL_ABSPATH's last modified time to this
- time and after that record the actual file time.
-
- ### it is unclear whether this should survive. */
-svn_error_t *
-svn_wc__wq_build_record_fileinfo(svn_skel_t **work_item,
- svn_wc__db_t *db,
- const char *local_abspath,
- apr_time_t set_time,
- apr_pool_t *result_pool,
- apr_pool_t *scratch_pool);
-
/* Set *WORK_ITEM to a new work item that will remove all the data of
the BASE_NODE of LOCAL_ABSPATH and all it's descendants, but keeping
any WORKING_NODE data.