You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by iv...@apache.org on 2014/06/20 11:57:48 UTC

svn commit: r1604119 - in /subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs: fs.h index.h util.h

Author: ivan
Date: Fri Jun 20 09:57:48 2014
New Revision: 1604119

URL: http://svn.apache.org/r1604119
Log:
On remove-log-addressing branch: Further cleanup now unused code.

* subversion/libsvn_fs_fs/fs.h
  (PATH_TXN_ITEM_INDEX, PATH_INDEX): Remove.
* subversion/libsvn_fs_fs/index.h
  (svn_fs_fs__p2l_entry_t): Remove.
* subversion/libsvn_fs_fs/util.h
  (svn_fs_fs__path_txn_item_index): Remove declaration.

Modified:
    subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs.h
    subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.h
    subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/util.h

Modified: subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs.h
URL: http://svn.apache.org/viewvc/subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs.h?rev=1604119&r1=1604118&r2=1604119&view=diff
==============================================================================
--- subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs.h (original)
+++ subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs.h Fri Jun 20 09:57:48 2014
@@ -87,9 +87,6 @@ extern "C" {
 #define PATH_EXT_PROPS     ".props"        /* Extension for node props */
 #define PATH_EXT_REV       ".rev"          /* Extension of protorev file */
 #define PATH_EXT_REV_LOCK  ".rev-lock"     /* Extension of protorev lock file */
-#define PATH_TXN_ITEM_INDEX "itemidx"      /* File containing the current item
-                                              index number */
-#define PATH_INDEX          "index"        /* name of index files w/o ext */
 
 /* Names of files in legacy FS formats */
 #define PATH_REV           "rev"           /* Proto rev file */

Modified: subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.h
URL: http://svn.apache.org/viewvc/subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.h?rev=1604119&r1=1604118&r2=1604119&view=diff
==============================================================================
--- subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.h (original)
+++ subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.h Fri Jun 20 09:57:48 2014
@@ -48,28 +48,6 @@
 #define SVN_FS_FS__ITEM_TYPE_ANY_REP    7  /* item is any representation.
                                               Only used in pre-format7. */
 
-/* (user visible) entry in the phys-to-log index.  It describes a section
- * of some packed / non-packed rev file as containing a specific item.
- * There must be no overlapping / conflicting entries.
- */
-typedef struct svn_fs_fs__p2l_entry_t
-{
-  /* offset of the first byte that belongs to the item */
-  apr_off_t offset;
-  
-  /* length of the item in bytes */
-  apr_off_t size;
-
-  /* type of the item (see SVN_FS_FS__ITEM_TYPE_*) defines */
-  unsigned type;
-
-  /* modified FNV-1a checksum.  0 if unknown checksum */
-  apr_uint32_t fnv1_checksum;
-
-  /* item in that block */
-  svn_fs_fs__id_part_t item;
-} svn_fs_fs__p2l_entry_t;
-
 /* For ITEM_INDEX within REV in FS, return the position in the respective
  * rev or pack file in *ABSOLUTE_POSITION.  If TXN_ID is not NULL, return
  * the file offset within that transaction and REV should be given as

Modified: subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/util.h
URL: http://svn.apache.org/viewvc/subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/util.h?rev=1604119&r1=1604118&r2=1604119&view=diff
==============================================================================
--- subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/util.h (original)
+++ subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/util.h Fri Jun 20 09:57:48 2014
@@ -232,15 +232,6 @@ svn_fs_fs__path_txn_node_children(svn_fs
                                   const svn_fs_id_t *id,
                                   apr_pool_t *pool);
 
-/* Return the path of the file containing item_index counter for
- * the transaction identified by TXN_ID in FS.
- * The result will be allocated in POOL.
- */
-const char *
-svn_fs_fs__path_txn_item_index(svn_fs_t *fs,
-                               const svn_fs_fs__id_part_t *txn_id,
-                               apr_pool_t *pool);
-
 /* Return the path of the file containing the node origins cachs for
  * the given NODE_ID in FS.  The result will be allocated in POOL.
  */