subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1831910 - in /subversion/trunk/subversion: include/svn_client.h libsvn_client/status.c
Date Sat, 19 May 2018 16:55:19 GMT
Author: julianfoad
Date: Sat May 19 16:55:19 2018
New Revision: 1831910

URL: http://svn.apache.org/viewvc?rev=1831910&view=rev
Log:
Shelving: Add SVN_EXPERIMENTAL and suppress warnings related to it.

A follow-up to r1831908.

* subversion/include/svn_client.h
  (svn_client_shelf_version_status_walk): Add 'experimental' mark-up.

* subversion/libsvn_client/status.c
  Suppress 'experimental function used' warnings, because on some platforms
  it maps to a 'deprecated' warning and we don't like those.

Modified:
    subversion/trunk/subversion/include/svn_client.h
    subversion/trunk/subversion/libsvn_client/status.c

Modified: subversion/trunk/subversion/include/svn_client.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_client.h?rev=1831910&r1=1831909&r2=1831910&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_client.h (original)
+++ subversion/trunk/subversion/include/svn_client.h Sat May 19 16:55:19 2018
@@ -7276,7 +7276,11 @@ svn_client_shelf_list(apr_hash_t **shelf
 
 /* Report the shelved status of all the shelved paths in SHELF_VERSION
  * via WALK_FUNC(WALK_BATON, ...).
+ *
+ * @since New in 1.X.
+ * @warning EXPERIMENTAL.
  */
+SVN_EXPERIMENTAL
 svn_error_t *
 svn_client_shelf_version_status_walk(svn_client_shelf_version_t *shelf_version,
                                      const char *wc_relpath,

Modified: subversion/trunk/subversion/libsvn_client/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/status.c?rev=1831910&r1=1831909&r2=1831910&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/status.c (original)
+++ subversion/trunk/subversion/libsvn_client/status.c Sat May 19 16:55:19 2018
@@ -23,6 +23,9 @@
 
 /* ==================================================================== */
 
+/* We define this here to remove any further warnings about the usage of
+   experimental functions in this file. */
+#define SVN_EXPERIMENTAL
 
 
 /*** Includes. ***/



Mime
View raw message