You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2015/01/02 15:48:40 UTC
svn commit: r1649053 - in /subversion/trunk/subversion/libsvn_fs_x: fs_x.h
noderevs.c transaction.c
Author: stefan2
Date: Fri Jan 2 14:48:39 2015
New Revision: 1649053
URL: http://svn.apache.org/r1649053
Log:
Follow-up to r1649041: Formatting changes to keep within 80 columns.
No functional change.
* subversion/libsvn_fs_x/fs_x.h
(svn_fs_x__prop_rep_equal): Add newline to signature.
* subversion/libsvn_fs_x/noderevs.c
(svn_fs_x__write_noderevs_container): Reformat docstring.
* subversion/libsvn_fs_x/transaction.c
(commit_body): Reformat docstring.
(write_reps_to_cache,
svn_fs_x__commit): Reformat code.
Modified:
subversion/trunk/subversion/libsvn_fs_x/fs_x.h
subversion/trunk/subversion/libsvn_fs_x/noderevs.c
subversion/trunk/subversion/libsvn_fs_x/transaction.c
Modified: subversion/trunk/subversion/libsvn_fs_x/fs_x.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/fs_x.h?rev=1649053&r1=1649052&r2=1649053&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/fs_x.h (original)
+++ subversion/trunk/subversion/libsvn_fs_x/fs_x.h Fri Jan 2 14:48:39 2015
@@ -102,8 +102,9 @@ svn_error_t *svn_fs_x__prop_rep_equal(sv
/* Return a copy of the representation REP allocated from POOL. */
-svn_fs_x__representation_t *svn_fs_x__rep_copy(svn_fs_x__representation_t *rep,
- apr_pool_t *pool);
+svn_fs_x__representation_t *
+svn_fs_x__rep_copy(svn_fs_x__representation_t *rep,
+ apr_pool_t *pool);
/* Return the recorded checksum of type KIND for the text representation
Modified: subversion/trunk/subversion/libsvn_fs_x/noderevs.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/noderevs.c?rev=1649053&r1=1649052&r2=1649053&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/noderevs.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/noderevs.c Fri Jan 2 14:48:39 2015
@@ -616,9 +616,9 @@ svn_fs_x__write_noderevs_container(svn_s
return SVN_NO_ERROR;
}
-/* Allocate a svn_fs_x__representation_t array in POOL and return it in *REPS_P.
- * Deserialize the data in REP_STREAM and DIGEST_STREAM and store the
- * resulting representations into the *REPS_P.
+/* Allocate a svn_fs_x__representation_t array in POOL and return it in
+ * REPS_P. Deserialize the data in REP_STREAM and DIGEST_STREAM and store
+ * the resulting representations into the *REPS_P.
*/
static svn_error_t *
read_reps(apr_array_header_t **reps_p,
Modified: subversion/trunk/subversion/libsvn_fs_x/transaction.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/transaction.c?rev=1649053&r1=1649052&r2=1649053&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/transaction.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/transaction.c Fri Jan 2 14:48:39 2015
@@ -3389,8 +3389,8 @@ commit_body(void *baton, apr_pool_t *poo
return SVN_NO_ERROR;
}
-/* Add the representations in REPS_TO_CACHE (an array of svn_fs_x__representation_t *)
- * to the rep-cache database of FS. */
+/* Add the representations in REPS_TO_CACHE (an array of
+ * svn_fs_x__representation_t *) to the rep-cache database of FS. */
static svn_error_t *
write_reps_to_cache(svn_fs_t *fs,
const apr_array_header_t *reps_to_cache,
@@ -3400,7 +3400,8 @@ write_reps_to_cache(svn_fs_t *fs,
for (i = 0; i < reps_to_cache->nelts; i++)
{
- svn_fs_x__representation_t *rep = APR_ARRAY_IDX(reps_to_cache, i, svn_fs_x__representation_t *);
+ svn_fs_x__representation_t *rep
+ = APR_ARRAY_IDX(reps_to_cache, i, svn_fs_x__representation_t *);
/* FALSE because we don't care if another parallel commit happened to
* collide with us. (Non-parallel collisions will not be detected.) */
@@ -3425,7 +3426,8 @@ svn_fs_x__commit(svn_revnum_t *new_rev_p
if (ffd->rep_sharing_allowed)
{
- cb.reps_to_cache = apr_array_make(pool, 5, sizeof(svn_fs_x__representation_t *));
+ cb.reps_to_cache = apr_array_make(pool, 5,
+ sizeof(svn_fs_x__representation_t *));
cb.reps_hash = apr_hash_make(pool);
cb.reps_pool = pool;
}