Author: rinrab Date: Wed Sep 25 17:08:37 2024 New Revision: 1920917 URL: http://svn.apache.org/viewvc?rev=1920917&view=rev Log: On the 'windows-shared-ra-modules' branch: Rename svn_ra_*__deprecated_init functions to svn_ra_*__compat_init, they are actually compatibility wrappers and 'deprecated' word is incorrect over here and confuses the readers.
* subversion/libsvn_ra/ra_loader.c, subversion/libsvn_ra_local/ra_init.h, subversion/libsvn_ra_local/ra_plugin.c, subversion/libsvn_ra_serf/ra_init.h, subversion/libsvn_ra_serf/serf.c, subversion/libsvn_ra_svn/client.c, subversion/libsvn_ra_svn/ra_init.h: - Rename svn_ra_svn__deprecated_init to svn_ra_svn__compat_init. - Rename svn_ra_local__deprecated_init to svn_ra_local__compat_init. - Rename svn_ra_serf__deprecated_init to svn_ra_serf__compat_init. Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra/ra_loader.c subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_plugin.c subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/serf.c subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/client.c subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra/ra_loader.c URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra/ra_loader.c?rev=1920917&r1=1920916&r2=1920917&view=diff ============================================================================== --- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra/ra_loader.c (original) +++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra/ra_loader.c Wed Sep 25 17:08:37 2024 @@ -85,7 +85,7 @@ static const struct ra_lib_defn { svn_schemes, #ifdef SVN_LIBSVN_RA_LINKS_RA_SVN svn_ra_svn__init, - svn_ra_svn__deprecated_init + svn_ra_svn__compat_init #endif }, @@ -94,7 +94,7 @@ static const struct ra_lib_defn { local_schemes, #ifdef SVN_LIBSVN_RA_LINKS_RA_LOCAL svn_ra_local__init, - svn_ra_local__deprecated_init + svn_ra_local__compat_init #endif }, @@ -103,7 +103,7 @@ static const struct ra_lib_defn { dav_schemes, #ifdef SVN_LIBSVN_RA_LINKS_RA_SERF svn_ra_serf__init, - svn_ra_serf__deprecated_init + svn_ra_serf__compat_init #endif }, @@ -1592,7 +1592,7 @@ svn_ra_svn_init(int abi_version, { #ifdef SVN_LIBSVN_RA_LINKS_RA_SVN return svn_error_trace( - svn_ra_svn__deprecated_init(abi_version, pool, hash)); + svn_ra_svn__compat_init(abi_version, pool, hash)); #else return svn_error_create(SVN_ERR_RA_NOT_IMPLEMENTED, NULL, NULL); #endif /* ! SVN_LIBSVN_RA_LINKS_RA_SVN */ @@ -1605,7 +1605,7 @@ svn_ra_local_init(int abi_version, { #ifdef SVN_LIBSVN_RA_LINKS_RA_LOCAL return svn_error_trace( - svn_ra_local__deprecated_init(abi_version, pool, hash)); + svn_ra_local__compat_init(abi_version, pool, hash)); #else return svn_error_create(SVN_ERR_RA_NOT_IMPLEMENTED, NULL, NULL); #endif /* ! SVN_LIBSVN_RA_LINKS_RA_LOCAL */ @@ -1618,7 +1618,7 @@ svn_ra_serf_init(int abi_version, { #ifdef SVN_LIBSVN_RA_LINKS_RA_SERF return svn_error_trace( - svn_ra_serf__deprecated_init(abi_version, pool, hash)); + svn_ra_serf__compat_init(abi_version, pool, hash)); #else return svn_error_create(SVN_ERR_RA_NOT_IMPLEMENTED, NULL, NULL); #endif /* ! SVN_LIBSVN_RA_LINKS_RA_SERF */ Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h?rev=1920917&r1=1920916&r2=1920917&view=diff ============================================================================== --- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h (original) +++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h Wed Sep 25 17:08:37 2024 @@ -45,8 +45,8 @@ svn_error_t *svn_ra_local__init(const sv * * @return @a hash with the scheme as the key and the vtable as the value. */ -svn_error_t *svn_ra_local__deprecated_init(int abi_version, - apr_pool_t *pool, - apr_hash_t *hash); +svn_error_t *svn_ra_local__compat_init(int abi_version, + apr_pool_t *pool, + apr_hash_t *hash); #endif Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_plugin.c URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_plugin.c?rev=1920917&r1=1920916&r2=1920917&view=diff ============================================================================== --- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_plugin.c (original) +++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_plugin.c Wed Sep 25 17:08:37 2024 @@ -1998,5 +1998,5 @@ svn_ra_local__init(const svn_version_t * #define DESCRIPTION RA_LOCAL_DESCRIPTION #define VTBL ra_local_vtable #define INITFUNC svn_ra_local__init -#define COMPAT_INITFUNC svn_ra_local__deprecated_init +#define COMPAT_INITFUNC svn_ra_local__compat_init #include "../libsvn_ra/wrapper_template.h" Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h?rev=1920917&r1=1920916&r2=1920917&view=diff ============================================================================== --- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h (original) +++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h Wed Sep 25 17:08:37 2024 @@ -45,8 +45,8 @@ svn_error_t *svn_ra_serf__init(const svn * * @return @a hash with the scheme as the key and the vtable as the value. */ -svn_error_t *svn_ra_serf__deprecated_init(int abi_version, - apr_pool_t *pool, - apr_hash_t *hash); +svn_error_t *svn_ra_serf__compat_init(int abi_version, + apr_pool_t *pool, + apr_hash_t *hash); #endif Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/serf.c URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/serf.c?rev=1920917&r1=1920916&r2=1920917&view=diff ============================================================================== --- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/serf.c (original) +++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/serf.c Wed Sep 25 17:08:37 2024 @@ -1128,5 +1128,5 @@ svn_ra_serf__init(const svn_version_t *l #define DESCRIPTION RA_SERF_DESCRIPTION #define VTBL serf_vtable #define INITFUNC svn_ra_serf__init -#define COMPAT_INITFUNC svn_ra_serf__deprecated_init +#define COMPAT_INITFUNC svn_ra_serf__compat_init #include "../libsvn_ra/wrapper_template.h" Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/client.c URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/client.c?rev=1920917&r1=1920916&r2=1920917&view=diff ============================================================================== --- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/client.c (original) +++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/client.c Wed Sep 25 17:08:37 2024 @@ -3373,5 +3373,5 @@ svn_ra_svn__init(const svn_version_t *lo #define DESCRIPTION RA_SVN_DESCRIPTION #define VTBL ra_svn_vtable #define INITFUNC svn_ra_svn__init -#define COMPAT_INITFUNC svn_ra_svn__deprecated_init +#define COMPAT_INITFUNC svn_ra_svn__compat_init #include "../libsvn_ra/wrapper_template.h" Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h?rev=1920917&r1=1920916&r2=1920917&view=diff ============================================================================== --- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h (original) +++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h Wed Sep 25 17:08:37 2024 @@ -45,8 +45,8 @@ svn_error_t *svn_ra_svn__init(const svn_ * * @return @a hash with the scheme as the key and the vtable as the value. */ -svn_error_t *svn_ra_svn__deprecated_init(int abi_version, - apr_pool_t *pool, - apr_hash_t *hash); +svn_error_t *svn_ra_svn__compat_init(int abi_version, + apr_pool_t *pool, + apr_hash_t *hash); #endif