subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1583630 - in /subversion/trunk/subversion/include: svn_fs.h svn_repos.h
Date Tue, 01 Apr 2014 11:28:53 GMT
Author: julianfoad
Date: Tue Apr  1 11:28:53 2014
New Revision: 1583630

URL: http://svn.apache.org/r1583630
Log:
Fix doc string typos.

* subversion/include/svn_fs.h
  (svn_fs_lock2, svn_fs_unlock2): Fix typos.

* subversion/include/svn_repos.h
  (svn_repos_fs_lock2, svn_repos_fs_unlock2, svn_repos_fs_unlock):
    Fix typos and Doxygen mark-up.

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=1583630&r1=1583629&r2=1583630&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_fs.h (original)
+++ subversion/trunk/subversion/include/svn_fs.h Tue Apr  1 11:28:53 2014
@@ -2566,7 +2566,7 @@ typedef struct svn_fs_lock_result_t
  * that existing lock.  If current_rev is a valid revnum, then do an
  * out-of-dateness check.  If the revnum is less than the
  * last-changed-revision of the path (or if the path doesn't exist in
- * HEAD), yeild an #SVN_ERR_FS_OUT_OF_DATE error for this path.
+ * HEAD), yield an #SVN_ERR_FS_OUT_OF_DATE error for this path.
  *
  * If a path is already locked, then return #SVN_ERR_FS_PATH_ALREADY_LOCKED,
  * unless @a steal_lock is TRUE, in which case "steal" the existing
@@ -2639,8 +2639,8 @@ svn_fs_generate_lock_token(const char **
  *
  * The paths to be unlocked are passed as <tt>const char *</tt> keys
  * of the @a targets hash with the corresponding lock tokens as
- * <tt>const char *</tt> values.  If the the token doesn't point to a
- * lock, yield an #SVN_ERR_FS_BAD_LOCK_TOKEN errot for this path.  If
+ * <tt>const char *</tt> values.  If the token doesn't point to a
+ * lock, yield an #SVN_ERR_FS_BAD_LOCK_TOKEN error for this path.  If
  * the token points to an expired lock, yield an
  * #SVN_ERR_FS_LOCK_EXPIRED error for this path.  If @a fs has no
  * username associated with it, yield an #SVN_ERR_FS_NO_USER unless @a

Modified: subversion/trunk/subversion/include/svn_repos.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_repos.h?rev=1583630&r1=1583629&r2=1583630&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_repos.h (original)
+++ subversion/trunk/subversion/include/svn_repos.h Tue Apr  1 11:28:53 2014
@@ -2191,12 +2191,12 @@ svn_repos_fs_begin_txn_for_update(svn_fs
  * which the pre-lock is successful are passed to svn_fs_lock2 and the
  * post-lock is run for those that are successfully locked.
  *
- * @a results contains the result for each target of running the
+ * @a *results contains the result for each target of running the
  * pre-lock and svn_fs_lock2 if the pre-lock was successful.
  *
  * 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 the some locks succeeded.  In
+ * 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.
  *
@@ -2237,7 +2237,7 @@ svn_repos_fs_lock(svn_lock_t **lock,
                   apr_pool_t *pool);
 
 
-/** Like svn_fs_unlock(), but invoke the @a repos's pre- and
+/** Like svn_fs_unlock2(), but invoke the @a repos's pre- and
  * post-unlock hooks before and after the unlocking action.
  *
  * The pre-unlock hook is run for every path in @a targets. Those
@@ -2245,14 +2245,14 @@ svn_repos_fs_lock(svn_lock_t **lock,
  * svn_fs_unlock2 and the post-unlock is run for those that are
  * successfully unlocked.
  *
- * @a results contains the result for each target of running the
+ * @a *results contains the result for each target of running the
  * pre-unlock and svn_fs_unlock2 if the pre-unlock was successful.
 
  * If an error occurs when running the post-unlock hook, return the
- * original error wrapped with SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED.
+ * 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 error in @a
- * results to avoid leaks.
+ * succeeded.  In all cases the caller must handle all errors in @a
+ * *results to avoid leaks.
  *
  * Allocate @a *results in @a result_pool. Use @a scratch_pool for
  * temporary allocations.
@@ -2267,7 +2267,7 @@ svn_repos_fs_unlock2(apr_hash_t **result
                      apr_pool_t *result_pool,
                      apr_pool_t *scratch_pool);
 
-/* Similar to svn_repos_fs_unlock2 but only unlocks a single path.
+/** Similar to svn_repos_fs_unlock2() but only unlocks a single path.
  *
  * @since New in 1.2.
  */



Mime
View raw message