subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1674631 - in /subversion/trunk/subversion/libsvn_fs_fs: cached_data.c transaction.c
Date Sun, 19 Apr 2015 15:26:44 GMT
Author: stefan2
Date: Sun Apr 19 15:26:43 2015
New Revision: 1674631

URL: http://svn.apache.org/r1674631
Log:
Fix a handful of docco issues. No functional change.

* subversion/libsvn_fs_fs/cached_data.c
  (get_combined_window): Reference the right parameter in docstring.

* subversion/libsvn_fs_fs/transaction.c
  (rep_write_get_baton): Use the correct variable name in docstring.
  (get_shared_rep): Typo in comment.

Found by: julianfoad

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/cached_data.c
    subversion/trunk/subversion/libsvn_fs_fs/transaction.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/cached_data.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/cached_data.c?rev=1674631&r1=1674630&r2=1674631&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/cached_data.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/cached_data.c Sun Apr 19 15:26:43 2015
@@ -1725,7 +1725,7 @@ get_combined_window(svn_stringbuf_t **re
 }
 
 /* Returns whether or not the expanded fulltext of the file is cachable
- * based on its size SIZE.  The decision depends on the cache used by RB.
+ * based on its size SIZE.  The decision depends on the cache used by FFD.
  */
 static svn_boolean_t
 fulltext_size_is_cachable(fs_fs_data_t *ffd, svn_filesize_t size)

Modified: subversion/trunk/subversion/libsvn_fs_fs/transaction.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/transaction.c?rev=1674631&r1=1674630&r2=1674631&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/transaction.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/transaction.c Sun Apr 19 15:26:43 2015
@@ -2116,7 +2116,7 @@ rep_write_get_baton(struct rep_write_bat
 }
 
 /* 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
+   in FS and return it in *OLD_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
    revision, those can be passed in REPS_HASH (maps a sha1 digest onto
@@ -2142,7 +2142,7 @@ get_shared_rep(representation_t **old_re
 
   /* Check and see if we already have a representation somewhere that's
      identical to the one we just wrote out.  Start with the hash lookup
-     because it is cheepest. */
+     because it is cheapest. */
   if (reps_hash)
     *old_rep = apr_hash_get(reps_hash,
                             rep->sha1_digest,



Mime
View raw message