subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1335435 - /subversion/trunk/subversion/libsvn_fs_fs/fs.c
Date Tue, 08 May 2012 11:47:30 GMT
Author: stsp
Date: Tue May  8 11:47:30 2012
New Revision: 1335435

URL: http://svn.apache.org/viewvc?rev=1335435&view=rev
Log:
* subversion/libsvn_fs_fs/fs.c
  (fs_hotcopy): Re-indent. No functional change.

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

Modified: subversion/trunk/subversion/libsvn_fs_fs/fs.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs.c?rev=1335435&r1=1335434&r2=1335435&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/fs.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/fs.c Tue May  8 11:47:30 2012
@@ -294,27 +294,23 @@ fs_hotcopy(svn_fs_t *src_fs,
            void *cancel_baton,
            apr_pool_t *pool)
 {
-    {
-      SVN_ERR(svn_fs__check_fs(src_fs, FALSE));
-      SVN_ERR(initialize_fs_struct(src_fs));
-      SVN_ERR(svn_fs_fs__open(src_fs, src_path, pool));
-      SVN_ERR(svn_fs_fs__initialize_caches(src_fs, pool));
-      SVN_ERR(fs_serialized_init(src_fs, pool, pool));
-    }
+  SVN_ERR(svn_fs__check_fs(src_fs, FALSE));
+  SVN_ERR(initialize_fs_struct(src_fs));
+  SVN_ERR(svn_fs_fs__open(src_fs, src_path, pool));
+  SVN_ERR(svn_fs_fs__initialize_caches(src_fs, pool));
+  SVN_ERR(fs_serialized_init(src_fs, pool, pool));
 
-    {
-      SVN_ERR(svn_fs__check_fs(dst_fs, FALSE));
-      SVN_ERR(initialize_fs_struct(dst_fs));
+  SVN_ERR(svn_fs__check_fs(dst_fs, FALSE));
+  SVN_ERR(initialize_fs_struct(dst_fs));
 #if 0 
-      /* In INCREMENTAL mode, svn_fs_fs__hotcopy() will open DST_FS.
-         Otherwise, it's not an FS yet --- possibly just an empty dir --- so
-         can't be opened.
-       */
-      SVN_ERR(svn_fs_fs__open(fs, dst_path, pool));
-      SVN_ERR(svn_fs_fs__initialize_caches(fs, pool));
+  /* In INCREMENTAL mode, svn_fs_fs__hotcopy() will open DST_FS.
+     Otherwise, it's not an FS yet --- possibly just an empty dir --- so
+     can't be opened.
+   */
+  SVN_ERR(svn_fs_fs__open(fs, dst_path, pool));
+  SVN_ERR(svn_fs_fs__initialize_caches(fs, pool));
 #endif
-      SVN_ERR(fs_serialized_init(dst_fs, pool, pool));
-    }
+  SVN_ERR(fs_serialized_init(dst_fs, pool, pool));
 
   return svn_fs_fs__hotcopy(src_fs, dst_fs, src_path, dst_path,
                             incremental, cancel_func, cancel_baton, pool);



Mime
View raw message