subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1584368 - in /subversion/trunk/subversion/include: svn_fs.h svn_repos.h
Date Thu, 03 Apr 2014 20:06:08 GMT
Author: philip
Date: Thu Apr  3 20:06:07 2014
New Revision: 1584368

URL: http://svn.apache.org/r1584368
Log:
Tweak comments, no functional change.

* subversion/include/svn_fs.h
  (svn_fs_lock_many, svn_fs_unlock_many): Tweak docs.

* subversion/include/svn_repos.h
  (svn_repos_fs_lock_many, svn_repos_fs_unlock_many): Tweak docs.

Modified:
    subversion/trunk/subversion/include/svn_fs.h
    subversion/trunk/subversion/include/svn_repos.h

Modified: subversion/trunk/subversion/include/svn_fs.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_fs.h?rev=1584368&r1=1584367&r2=1584368&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_fs.h (original)
+++ subversion/trunk/subversion/include/svn_fs.h Thu Apr  3 20:06:07 2014
@@ -2540,8 +2540,7 @@ typedef svn_error_t *(*svn_fs_lock_callb
                                                svn_error_t *fs_err,
                                                apr_pool_t *pool);
 
-/** Lock the paths in @a targets in @a fs, and set @a *results to the
- * locks or errors representing each new lock.
+/** Lock the paths in @a targets in @a fs.
  *
  * @warning You may prefer to use svn_repos_fs_lock_many() instead,
  * which see.
@@ -2633,8 +2632,7 @@ svn_fs_generate_lock_token(const char **
                            apr_pool_t *pool);
 
 
-/** Remove the locks on the paths in @a targets in @a fs, and return
- * the results in @a *results.
+/** Remove the locks on the paths in @a targets in @a fs.
  *
  * The paths to be unlocked are passed as <tt>const char *</tt> keys
  * of the @a targets hash with the corresponding lock tokens as

Modified: subversion/trunk/subversion/include/svn_repos.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_repos.h?rev=1584368&r1=1584367&r2=1584368&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_repos.h (original)
+++ subversion/trunk/subversion/include/svn_repos.h Thu Apr  3 20:06:07 2014
@@ -2197,9 +2197,7 @@ svn_repos_fs_begin_txn_for_update(svn_fs
  *
  * If an error occurs when running the post-lock hook the error is
  * returned wrapped with #SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED.  If the
- * caller sees this error, it knows that some locks succeeded.  In
- * all cases the caller must handle all errors in @a results to avoid
- * leaks.
+ * caller sees this error, it knows that some locks succeeded.
  *
  * The pre-lock hook may cause a different token to be used for the
  * lock, instead of the token supplied; see the pre-lock-hook
@@ -2255,8 +2253,7 @@ svn_repos_fs_lock(svn_lock_t **lock,
  * If an error occurs when running the post-unlock hook, return the
  * original error wrapped with #SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED.
  * If the caller sees this error, it knows that some unlocks
- * succeeded.  In all cases the caller must handle all errors in @a
- * *results to avoid leaks.
+ * succeeded.
  *
  * The path passed to @a lock_callback will be allocated in @a result_pool.
  * Use @a scratch_pool for temporary allocations.



Mime
View raw message