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

svn commit: r932293 - in /subversion/trunk/subversion/libsvn_wc: log.c log.h

Author: gstein
Date: Fri Apr  9 08:04:17 2010
New Revision: 932293

URL: http://svn.apache.org/viewvc?rev=932293&view=rev
Log:
Die, loggy_copy!!!

* subversion/libsvn_wc/log.h:
* subcversin/libsvn_wc/log.c:
  (svn_wc__loggy_copy): removed. no longer used.

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

Modified: subversion/trunk/subversion/libsvn_wc/log.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/log.c?rev=932293&r1=932292&r2=932293&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/log.c (original)
+++ subversion/trunk/subversion/libsvn_wc/log.c Fri Apr  9 08:04:17 2010
@@ -765,47 +765,6 @@ svn_wc__loggy_append(svn_wc__db_t *db,
 
 
 svn_error_t *
-svn_wc__loggy_copy(svn_wc__db_t *db,
-                   const char *adm_abspath,
-                   const char *src_abspath,
-                   const char *dst_abspath,
-                   apr_pool_t *scratch_pool)
-{
-  const char *loggy_path1;
-  const char *loggy_path2;
-  svn_node_kind_t kind;
-
-  SVN_ERR_ASSERT(svn_dirent_is_absolute(src_abspath));
-  SVN_ERR_ASSERT(svn_dirent_is_absolute(dst_abspath));
-
-  SVN_ERR(loggy_path(&loggy_path1, src_abspath, adm_abspath, scratch_pool));
-  SVN_ERR(loggy_path(&loggy_path2, dst_abspath, adm_abspath, scratch_pool));
-
-  SVN_ERR(svn_io_check_path(src_abspath, &kind, scratch_pool));
-
-  /* ### idiocy of the old world. the file better exist, if we're asking
-     ### to do some work with it.  */
-  SVN_ERR_ASSERT(kind != svn_node_none);
-
-  {
-    svn_stringbuf_t *log_accum = NULL;
-
-    svn_xml_make_open_tag(&log_accum, scratch_pool,
-                          svn_xml_self_closing,
-                          SVN_WC__LOG_CP_AND_TRANSLATE,
-                          SVN_WC__LOG_ATTR_NAME,
-                          loggy_path1,
-                          SVN_WC__LOG_ATTR_DEST,
-                          loggy_path2,
-                          NULL);
-    SVN_ERR(svn_wc__wq_add_loggy(db, adm_abspath, log_accum, scratch_pool));
-  }
-
-  return SVN_NO_ERROR;
-}
-
-
-svn_error_t *
 svn_wc__loggy_translated_file(svn_wc__db_t *db,
                               const char *adm_abspath,
                               const char *dst,

Modified: subversion/trunk/subversion/libsvn_wc/log.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/log.h?rev=932293&r1=932292&r2=932293&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/log.h (original)
+++ subversion/trunk/subversion/libsvn_wc/log.h Fri Apr  9 08:04:17 2010
@@ -83,15 +83,6 @@ svn_wc__loggy_append(svn_wc__db_t *db,
                      apr_pool_t *scratch_pool);
 
 
-/* Queue instructions to copy/translate SRC_ABSPATH to DST_ABSPATH.  */
-svn_error_t *
-svn_wc__loggy_copy(svn_wc__db_t *db,
-                   const char *adm_abspath,
-                   const char *src_abspath,
-                   const char *dst_abspath,
-                   apr_pool_t *scratch_pool);
-
-
 /* Insert into DB a work queue instruction to generate a translated
    file from SRC to DST with translation settings from VERSIONED.
    ADM_ABSPATH is the absolute path for the admin directory for PATH.