subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1491435 - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
Date Mon, 10 Jun 2013 12:42:54 GMT
Author: danielsh
Date: Mon Jun 10 12:42:53 2013
New Revision: 1491435

URL: http://svn.apache.org/r1491435
Log:
No functional change.

* subversion/libsvn_fs_fs/fs_fs.c
  (choose_delta_base): Document local variables.
  (get_shared_rep): Clarify docstring.  ("Hash" usually means apr_hash_t.)

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c?rev=1491435&r1=1491434&r2=1491435&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Mon Jun 10 12:42:53 2013
@@ -7091,7 +7091,12 @@ choose_delta_base(representation_t **rep
                   svn_boolean_t props,
                   apr_pool_t *pool)
 {
+  /* The zero-based index (counting from the "oldest" end), along NODEREVs line
+   * predecessors, of the node-rev we will use as delta base. */
   int count;
+  /* The length of the linear part of a delta chain.  (Delta chains use
+   * skip-delta bits for the high-order bits and are linear in the low-order
+   * bits.) */
   int walk;
   node_revision_t *base;
   fs_fs_data_t *ffd = fs->fsap_data;
@@ -7328,7 +7333,7 @@ rep_write_get_baton(struct rep_write_bat
   return SVN_NO_ERROR;
 }
 
-/* For the hash REP->SHA1, try to find an already existing representation
+/* For REP->SHA1_CHECKSUM, try to find an already existing representation
    in FS and return it in *OUT_REP.  If no such representation exists or
    if rep sharing has been disabled for FS, NULL will be returned.  Since
    there may be new duplicate representations within the same uncommitted



Mime
View raw message