subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1130622 - in /subversion/trunk/subversion/libsvn_fs_fs: caching.c fs_fs.h
Date Thu, 02 Jun 2011 16:02:17 GMT
Author: stefan2
Date: Thu Jun  2 16:02:17 2011
New Revision: 1130622

URL: http://svn.apache.org/viewvc?rev=1130622&view=rev
Log:
Remove duplicate docstrings.

* subversion/libsvn_fs_fs/fs_fs.h
  (svn_fs_fs__initialize_caches, svn_fs_fs__initialize_txn_caches):
   improve docstrings
* subversion/libsvn_fs_fs/caching.c
  (svn_fs_fs__initialize_caches, svn_fs_fs__initialize_txn_caches,
   svn_fs_fs__reset_txn_caches): remove docstrings from functions
   already documented in headers

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/caching.c
    subversion/trunk/subversion/libsvn_fs_fs/fs_fs.h

Modified: subversion/trunk/subversion/libsvn_fs_fs/caching.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/caching.c?rev=1130622&r1=1130621&r2=1130622&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/caching.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/caching.c Thu Jun  2 16:02:17 2011
@@ -190,12 +190,6 @@ init_callbacks(svn_cache__t *cache,
   return SVN_NO_ERROR;
 }
 
-/* Initialize all session-local caches in FS according to the global
- * cache settings. Use POOL for allocations.
- * 
- * Please note that it is permissible for this function to set some
- * or all of these caches to NULL, regardless of any setting.
- */
 svn_error_t *
 svn_fs_fs__initialize_caches(svn_fs_t *fs,
                              apr_pool_t *pool)
@@ -438,13 +432,6 @@ init_txn_callbacks(svn_cache__t **cache,
     }
 }
 
-/* Initialize all transaction-local caches in FS according to the global
- * cache settings and make TXN_ID part of their key space. Use POOL for
- * allocations.
- * 
- * Please note that it is permissible for this function to set some or all
- * of these caches to NULL, regardless of any setting.
- */
 svn_error_t *
 svn_fs_fs__initialize_txn_caches(svn_fs_t *fs,
                                  const char *txn_id,
@@ -500,8 +487,6 @@ svn_fs_fs__initialize_txn_caches(svn_fs_
   return SVN_NO_ERROR;
 }
 
-/* Make sure all transaction-local caches in FS are reset to NULL.
- */
 void
 svn_fs_fs__reset_txn_caches(svn_fs_t *fs)
 {

Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs_fs.h?rev=1130622&r1=1130621&r2=1130622&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/fs_fs.h (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/fs_fs.h Thu Jun  2 16:02:17 2011
@@ -497,13 +497,20 @@ svn_fs_fs__get_node_origin(const svn_fs_
                            apr_pool_t *pool);
 
 
-/* Sets up the non-transaction-local svn_cache__t structures in FS.
-   POOL is used for temporary allocations. */
+/* Initialize all session-local caches in FS according to the global
+   cache settings. Use POOL for allocations.
+
+   Please note that it is permissible for this function to set some
+   or all of these caches to NULL, regardless of any setting. */
 svn_error_t *
 svn_fs_fs__initialize_caches(svn_fs_t *fs, apr_pool_t *pool);
 
-/* Sets up the svn_cache__t structures local to transaction TXN_ID in FS.
-   POOL is used for temporary allocations. */
+/* Initialize all transaction-local caches in FS according to the global
+   cache settings and make TXN_ID part of their key space. Use POOL for
+   allocations.
+
+   Please note that it is permissible for this function to set some or all
+   of these caches to NULL, regardless of any setting. */
 svn_error_t *
 svn_fs_fs__initialize_txn_caches(svn_fs_t *fs,
                                  const char *txn_id,



Mime
View raw message