You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2012/10/06 19:12:48 UTC
svn commit: r1395119 - /subversion/trunk/subversion/include/svn_ra.h
Author: rhuijben
Date: Sat Oct 6 17:12:48 2012
New Revision: 1395119
URL: http://svn.apache.org/viewvc?rev=1395119&view=rev
Log:
Following up on r1395109, revert the deprecation of svn_ra_get_file() and
svn_ra_get_dir2() as the new functions weren't introduced by this merge.
(The prototypes were introduced, but the implementations weren't)
This should fix the swig wrappers and the shared library build on Windows.
* subversion/include/svn_ra.h
(svn_ra_get_file2): Remove prototype.
(svn_ra_get_file): Undeprecate.
(svn_ra_get_dir3): Remove prototype.
(svn_ra_get_dir2): Undeprecate.
Modified:
subversion/trunk/subversion/include/svn_ra.h
Modified: subversion/trunk/subversion/include/svn_ra.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_ra.h?rev=1395119&r1=1395118&r2=1395119&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_ra.h (original)
+++ subversion/trunk/subversion/include/svn_ra.h Sat Oct 6 17:12:48 2012
@@ -971,42 +971,11 @@ svn_ra_get_commit_editor(svn_ra_session_
* etc.) The keys are <tt>const char *</tt>, values are
* <tt>@c svn_string_t *</tt>.
*
- * If the server advertises the #SVN_RA_CAPABILITY_INHERITED_PROPS capability
- * and if @a inherited_props is not @c NULL, then set @a *inherited_props to
- * a depth-first ordered array of #svn_prop_inherited_item_t * structures
- * representing the properties inherited by @a path at @a revision (or the
- * 'head' revision if @a revision is @c SVN_INVALID_REVNUM. If
- * @a inherited_props is not @c NULL and no inheritable properties are found,
- * then set @a *inherited_props to an empty array. If the server does not
- * advertise the #SVN_RA_CAPABILITY_INHERITED_PROPS capability and
- * @a inherited_props is not @c NULL, then set @a *inherited_props to
- * @c NULL.
- *
* The stream handlers for @a stream may not perform any RA
* operations using @a session.
*
- * @since New in 1.8.
- */
-svn_error_t *
-svn_ra_get_file2(svn_ra_session_t *session,
- const char *path,
- svn_revnum_t revision,
- svn_stream_t *stream,
- svn_revnum_t *fetched_rev,
- apr_hash_t **props,
- apr_array_header_t **inherited_props,
- apr_pool_t *result_pool,
- apr_pool_t *scratch_pool);
-
-/**
- * Similar to @c svn_ra_get_file2, but does not support the retrieval of
- * inherited properties.
- *
* @since New in 1.2.
- *
- * @deprecated Provided for compatibility with the 1.7 API.
*/
-SVN_DEPRECATED
svn_error_t *
svn_ra_get_file(svn_ra_session_t *session,
const char *path,
@@ -1041,40 +1010,8 @@ svn_ra_get_file(svn_ra_session_t *sessio
* etc.) The keys are <tt>const char *</tt>, values are
* <tt>@c svn_string_t *</tt>.
*
- * If the server advertises the #SVN_RA_CAPABILITY_INHERITED_PROPS capability
- * and if @a inherited_props is not @c NULL, then set @a *inherited_props to
- * a depth-first ordered array of #svn_prop_inherited_item_t * structures
- * representing the properties inherited by @a path at @a revision (or the
- * 'head' revision if @a revision is @c SVN_INVALID_REVNUM. If
- * @a inherited_props is not @c NULL and no inheritable properties are found,
- * then set @a *inherited_props to an empty array. If the server does not
- * advertise the #SVN_RA_CAPABILITY_INHERITED_PROPS capability and
- * @a inherited_props is not @c NULL, then set @a *inherited_props to
- * @c NULL.
- *
- * @since New in 1.8.
- */
-svn_error_t *
-svn_ra_get_dir3(svn_ra_session_t *session,
- apr_hash_t **dirents,
- svn_revnum_t *fetched_rev,
- apr_hash_t **props,
- apr_array_header_t **inherited_props,
- const char *path,
- svn_revnum_t revision,
- apr_uint32_t dirent_fields,
- apr_pool_t *result_pool,
- apr_pool_t *scratch_pool);
-
-/**
- * Similar to @c svn_ra_get_dir3, but does not support the retrieval of
- * inherited properties.
- *
* @since New in 1.4.
- *
- * @deprecated Provided for compatibility with the 1.8 API.
*/
-SVN_DEPRECATED
svn_error_t *
svn_ra_get_dir2(svn_ra_session_t *session,
apr_hash_t **dirents,