subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1581940 - in /subversion/trunk/subversion: include/private/svn_repos_private.h libsvn_repos/repos_pool.c
Date Wed, 26 Mar 2014 17:05:59 GMT
Author: stefan2
Date: Wed Mar 26 17:05:59 2014
New Revision: 1581940

URL: http://svn.apache.org/r1581940
Log:
Remove svn_repos__repos_pool_t private API and implementation.
Should we need something similar in the future, it's just a few LOC to add.

* subversion/include/private/svn_repos_private.h
  (svn_repos__repos_pool_t,
   svn_repos__repos_pool_create,
   svn_repos__repos_pool_get): Remove API.

* subversion/libsvn_repos/repos_pool.c
  (): Remove this file.

Removed:
    subversion/trunk/subversion/libsvn_repos/repos_pool.c
Modified:
    subversion/trunk/subversion/include/private/svn_repos_private.h

Modified: subversion/trunk/subversion/include/private/svn_repos_private.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_repos_private.h?rev=1581940&r1=1581939&r2=1581940&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_repos_private.h (original)
+++ subversion/trunk/subversion/include/private/svn_repos_private.h Wed Mar 26 17:05:59 2014
@@ -257,49 +257,6 @@ svn_repos__authz_pool_get(svn_authz_t **
 
 /** @} */
 
-/**
- * @defgroup svn_repos_pool svn_repos_t object pool API
- * @{
- */
-
-/* Opaque thread-safe factory and container for svn_repos_t objects.
- */
-typedef struct svn_repos__repos_pool_t svn_repos__repos_pool_t;
-
-/* Create a new repository pool object with a minimum lifetime determined
- * by POOL and return it in *REPOS_POOL.  All repositories share the same
- * FS_CONFIG configuration which may be NULL.  The THREAD_SAFE flag
- * indicates whether the pool actually needs to be thread-safe.
- *
- * References to any repository instances in *REPOS_POOL will keep the
- * latter alive beyond POOL cleanup.
- */
-svn_error_t *
-svn_repos__repos_pool_create(svn_repos__repos_pool_t **repos_pool,
-                             apr_hash_t *fs_config,
-                             svn_boolean_t thread_safe,
-                             apr_pool_t *pool);
-
-/* Set *REPOS_P to an open repository object for the repository at local
- * path REPOS_ROOT.  If UUID is given, the repository's UUID must match it;
- * otherwise we re-read from disk.
- *
- * Once POOL gets cleared or destroyed, REPOS_POOL will store the repository
- * instance and make further callers may return that same instance.  POOL
- * determines the minimum lifetime of *REPOS_P.
- *
- * Note that you may need to update the youngest revision info cached
- * inside *REPOS_P. 
- */
-svn_error_t *
-svn_repos__repos_pool_get(svn_repos_t **repos_p,
-                          svn_repos__repos_pool_t *repos_pool,
-                          const char *repos_root,
-                          const char *uuid,
-                          apr_pool_t *pool);
-
-/** @} */
-
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */



Mime
View raw message