subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1602871 - /subversion/trunk/subversion/libsvn_fs/fs-loader.c
Date Mon, 16 Jun 2014 14:11:18 GMT
Author: stsp
Date: Mon Jun 16 14:11:17 2014
New Revision: 1602871

URL: http://svn.apache.org/r1602871
Log:
* subversion/libsvn_fs/fs-loader.c
  (svn_fs_commit_txn): Remove #ifdef PACK_AFTER_EVERY_COMMIT. It has been
   redundant since r1577362 which added a run-time configuration option
   to fsfs.conf to toggle the same behaviour.

Modified:
    subversion/trunk/subversion/libsvn_fs/fs-loader.c

Modified: subversion/trunk/subversion/libsvn_fs/fs-loader.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs/fs-loader.c?rev=1602871&r1=1602870&r2=1602871&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs/fs-loader.c (original)
+++ subversion/trunk/subversion/libsvn_fs/fs-loader.c Mon Jun 16 14:11:17 2014
@@ -864,20 +864,6 @@ svn_fs_commit_txn(const char **conflict_
 
   SVN_ERR(err);
 
-#ifdef PACK_AFTER_EVERY_COMMIT
-  {
-    svn_fs_t *fs = txn->fs;
-    const char *fs_path = svn_fs_path(fs, pool);
-    err = svn_fs_pack(fs_path, NULL, NULL, NULL, NULL, pool);
-    if (err && err->apr_err == SVN_ERR_UNSUPPORTED_FEATURE)
-      /* Pre-1.6 filesystem. */
-      svn_error_clear(err);
-    else if (err)
-      /* Real error. */
-      return svn_error_trace(err);
-  }
-#endif
-
   return SVN_NO_ERROR;
 }
 



Mime
View raw message