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/09/19 18:29:32 UTC
svn commit: r1626267 - in
/subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs:
cached_data.c fs_fs.c hotcopy.c index.c
Author: ivan
Date: Fri Sep 19 16:29:31 2014
New Revision: 1626267
URL: http://svn.apache.org/r1626267
Log:
On remove-log-addressing branch: Fix indentation.
* subversion/libsvn_fs_fs/cached_data.c
* subversion/libsvn_fs_fs/fs_fs.c
* subversion/libsvn_fs_fs/hotcopy.c
* subversion/libsvn_fs_fs/index.c
(get_node_revision_body, write_revision_zero, hotcopy_revisions,
svn_fs_fs__item_offset): Fix indentation.
Modified:
subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/cached_data.c
subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs_fs.c
subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/hotcopy.c
subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.c
Modified: subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/cached_data.c
URL: http://svn.apache.org/viewvc/subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/cached_data.c?rev=1626267&r1=1626266&r2=1626267&view=diff
==============================================================================
--- subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/cached_data.c (original)
+++ subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/cached_data.c Fri Sep 19 16:29:31 2014
@@ -323,10 +323,10 @@ get_node_revision_body(node_revision_t *
/* The noderev is not in cache, yet. Add it, if caching has been enabled. */
if (ffd->node_revision_cache)
- SVN_ERR(svn_cache__set(ffd->node_revision_cache,
- &key,
- *noderev_p,
- scratch_pool));
+ SVN_ERR(svn_cache__set(ffd->node_revision_cache,
+ &key,
+ *noderev_p,
+ scratch_pool));
SVN_ERR(svn_fs_fs__close_revision_file(revision_file));
}
Modified: subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs_fs.c?rev=1626267&r1=1626266&r2=1626267&view=diff
==============================================================================
--- subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/fs_fs.c Fri Sep 19 16:29:31 2014
@@ -1403,15 +1403,15 @@ write_revision_zero(svn_fs_t *fs,
svn_string_t date;
/* Write out a rev file for revision 0. */
- SVN_ERR(svn_io_file_create(path_revision_zero,
- "PLAIN\nEND\nENDREP\n"
- "id: 0.0.r0/17\n"
- "type: dir\n"
- "count: 0\n"
- "text: 0 0 4 4 "
- "2d2977d1c96f487abe4a1e202dd03b4e\n"
- "cpath: /\n"
- "\n\n17 107\n", scratch_pool));
+ SVN_ERR(svn_io_file_create(path_revision_zero,
+ "PLAIN\nEND\nENDREP\n"
+ "id: 0.0.r0/17\n"
+ "type: dir\n"
+ "count: 0\n"
+ "text: 0 0 4 4 "
+ "2d2977d1c96f487abe4a1e202dd03b4e\n"
+ "cpath: /\n"
+ "\n\n17 107\n", scratch_pool));
SVN_ERR(svn_io_set_file_read_only(path_revision_zero, FALSE, scratch_pool));
Modified: subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/hotcopy.c
URL: http://svn.apache.org/viewvc/subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/hotcopy.c?rev=1626267&r1=1626266&r2=1626267&view=diff
==============================================================================
--- subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/hotcopy.c (original)
+++ subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/hotcopy.c Fri Sep 19 16:29:31 2014
@@ -711,7 +711,7 @@ hotcopy_revisions(svn_fs_t *src_fs,
{
SVN_ERR(svn_fs_fs__write_current(dst_fs, rev, 0, 0,
iterpool));
- }
+ }
}
if (notify_func && !skipped)
Modified: subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.c
URL: http://svn.apache.org/viewvc/subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.c?rev=1626267&r1=1626266&r2=1626267&view=diff
==============================================================================
--- subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.c (original)
+++ subversion/branches/remove-log-addressing/subversion/libsvn_fs_fs/index.c Fri Sep 19 16:29:31 2014
@@ -52,9 +52,9 @@ svn_fs_fs__item_offset(apr_off_t *absolu
svn_error_t *err = SVN_NO_ERROR;
if (txn_id)
{
- /* for data in txns, item_index *is* the offset */
- *absolute_position = item_index;
- }
+ /* for data in txns, item_index *is* the offset */
+ *absolute_position = item_index;
+ }
else if (rev_file->is_packed)
{
/* pack file with physical addressing */