You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2013/06/10 14:42:54 UTC
svn commit: r1491435 - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
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