You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/08/19 02:12:47 UTC

svn commit: r1159451 - /subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c

Author: hwright
Date: Fri Aug 19 00:12:46 2011
New Revision: 1159451

URL: http://svn.apache.org/viewvc?rev=1159451&view=rev
Log:
On the fs-py branch:
* subversion/libsvn_fs_py/fs_fs.c
  (read_config): Remove unused function.

Modified:
    subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c

Modified: subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c?rev=1159451&r1=1159450&r2=1159451&view=diff
==============================================================================
--- subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c (original)
+++ subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c Fri Aug 19 00:12:46 2011
@@ -1128,29 +1128,6 @@ svn_fs_py__fs_supports_mergeinfo(svn_fs_
 }
 
 static svn_error_t *
-read_config(svn_fs_t *fs,
-            apr_pool_t *pool)
-{
-  fs_fs_data_t *ffd = fs->fsap_data;
-  int format;
-
-  SVN_ERR(svn_fs_py__get_int_attr(&format, ffd->p_fs, "format"));
-  SVN_ERR(svn_config_read2(&ffd->config,
-                           svn_dirent_join(fs->path, PATH_CONFIG, pool),
-                           FALSE, FALSE, fs->pool));
-
-  /* Initialize ffd->rep_sharing_allowed. */
-  if (format >= SVN_FS_FS__MIN_REP_SHARING_FORMAT)
-    SVN_ERR(svn_config_get_bool(ffd->config, &ffd->rep_sharing_allowed,
-                                CONFIG_SECTION_REP_SHARING,
-                                CONFIG_OPTION_ENABLE_REP_SHARING, TRUE));
-  else
-    ffd->rep_sharing_allowed = FALSE;
-
-  return SVN_NO_ERROR;
-}
-
-static svn_error_t *
 write_config(svn_fs_t *fs,
              apr_pool_t *pool)
 {