subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1064134 - /subversion/trunk/subversion/include/svn_wc.h
Date Thu, 27 Jan 2011 14:35:44 GMT
Author: julianfoad
Date: Thu Jan 27 14:35:44 2011
New Revision: 1064134

URL: http://svn.apache.org/viewvc?rev=1064134&view=rev
Log:
Tweak comments, mainly to add missing "@deprecated" and "@since" annotations.

* subversion/include/svn_wc.h
  (translate_flags, svn_wc_adm_access_t, SVN_WC_ADM_DIR_NAME): Tweak comments.
  (svn_wc_entry_working_size_constants): Remove this trivial Doxygen group
    as it only has one member and is not useful.
  (*): Add missing "@deprecated" and "@since" annotations.

Modified:
    subversion/trunk/subversion/include/svn_wc.h

Modified: subversion/trunk/subversion/include/svn_wc.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_wc.h?rev=1064134&r1=1064133&r2=1064134&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_wc.h (original)
+++ subversion/trunk/subversion/include/svn_wc.h Thu Jan 27 14:35:44 2011
@@ -104,7 +104,7 @@ svn_wc_version(void);
  * @{
  */
 
-/** Flags for use with svn_wc_translated_file2
+/** Flags for use with svn_wc_translated_file2() and svn_wc_translated_stream().
  *
  * @defgroup translate_flags Translation flags
  *
@@ -172,6 +172,8 @@ svn_wc_version(void);
  * @note: #svn_wc_context_t should be passed by non-const pointer in all
  * APIs, even for read-only operations, as it contains mutable data (caching,
  * etc.).
+ *
+ * @since New in 1.7.
  */
 typedef struct svn_wc_context_t svn_wc_context_t;
 
@@ -217,12 +219,14 @@ svn_wc_context_destroy(svn_wc_context_t 
 
 /** Baton for access to a working copy administrative area.
  *
- * One day all such access will require a baton, we're not there yet.
- *
  * Access batons can be grouped into sets, by passing an existing open
  * baton when opening a new baton.  Given one baton in a set, other batons
  * may be retrieved.  This allows an entire hierarchy to be locked, and
  * then the set of batons can be passed around by passing a single baton.
+ *
+ * @deprecated Provided for backward compatibility with the 1.6 API.
+ *    New code should use a #svn_wc_context_t object to access the working
+ *    copy.
  */
 typedef struct svn_wc_adm_access_t svn_wc_adm_access_t;
 
@@ -414,6 +418,8 @@ svn_wc_adm_open_anchor(svn_wc_adm_access
  * absent from, @a associated, return #SVN_ERR_WC_NOT_LOCKED.
  *
  * @a pool is used only for local processing, it is not used for the batons.
+ *
+ * @deprecated Provided for backward compatibility with the 1.6 API.
  */
 SVN_DEPRECATED
 svn_error_t *
@@ -428,6 +434,8 @@ svn_wc_adm_retrieve(svn_wc_adm_access_t 
  * directory, or does not exist, then the behaviour is like that of
  * svn_wc_adm_retrieve() with @a path replaced by the parent directory of
  * @a path.
+ *
+ * @deprecated Provided for backward compatibility with the 1.6 API.
  */
 SVN_DEPRECATED
 svn_error_t *
@@ -513,6 +521,7 @@ svn_wc_adm_probe_try(svn_wc_adm_access_t
  * Any temporary allocations are performed using @a scratch_pool.
  *
  * @since New in 1.6
+ * @deprecated Provided for backward compatibility with the 1.6 API.
  */
 SVN_DEPRECATED
 svn_error_t *
@@ -529,12 +538,18 @@ SVN_DEPRECATED
 svn_error_t *
 svn_wc_adm_close(svn_wc_adm_access_t *adm_access);
 
-/** Return the path used to open the access baton @a adm_access */
+/** Return the path used to open the access baton @a adm_access.
+ *
+ * @deprecated Provided for backward compatibility with the 1.6 API.
+ */
 SVN_DEPRECATED
 const char *
 svn_wc_adm_access_path(const svn_wc_adm_access_t *adm_access);
 
-/** Return the pool used by access baton @a adm_access */
+/** Return the pool used by access baton @a adm_access.
+ *
+ * @deprecated Provided for backward compatibility with the 1.6 API.
+ */
 SVN_DEPRECATED
 apr_pool_t *
 svn_wc_adm_access_pool(const svn_wc_adm_access_t *adm_access);
@@ -543,6 +558,7 @@ svn_wc_adm_access_pool(const svn_wc_adm_
  * @c FALSE otherwise. Compared to svn_wc_locked() this is a cheap, fast
  * function that doesn't access the filesystem.
  *
+ * @deprecated Provided for backward compatibility with the 1.6 API.
  * New code should use svn_wc_locked2() instead.
  */
 SVN_DEPRECATED
@@ -582,7 +598,7 @@ svn_wc_locked(svn_boolean_t *locked,
 
 
 
-/** Administrative subdir.
+/** The default name of the administrative subdirectory.
  *
  * Ideally, this would be completely private to wc internals (in fact,
  * it used to be that adm_subdir() in adm_files.c was the only function
@@ -2573,20 +2589,13 @@ typedef enum svn_wc_schedule_t
  * when it isn't set to the actual size value of the unchanged
  * working file.
  *
- * @defgroup svn_wc_entry_working_size_constants Working size constants
- *
- * @{
- */
-
-/** The value of the working size is unknown (hasn't been
+ *  The value of the working size is unknown (hasn't been
  *  calculated and stored in the past for whatever reason).
  *
  * @since New in 1.5
  */
 #define SVN_WC_ENTRY_WORKING_SIZE_UNKNOWN (-1)
 
-/** @} */
-
 /** A working copy entry -- that is, revision control information about
  * one versioned entity.
  */
@@ -6953,7 +6962,7 @@ svn_wc_translated_file(const char **xlat
  * @a local_abspath; stream write operations are not supported.
  *
  * The @a flags are the same constants as those used for
- * svn_wc_translated_file().
+ * svn_wc_translated_file2().
  *
  * @since New in 1.5.
  * @deprecated Provided for compatibility with the 1.6 API.



Mime
View raw message