subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1826621 - in /subversion/trunk/subversion: include/svn_client.h libsvn_client/shelf.c
Date Tue, 13 Mar 2018 10:13:04 GMT
Author: julianfoad
Date: Tue Mar 13 10:13:04 2018
New Revision: 1826621

URL: http://svn.apache.org/viewvc?rev=1826621&view=rev
Log:
Shelving: remove unneeded API svn_client_shelf_get_patch_abspath().

* subversion/include/svn_client.h,
  subversion/libsvn_client/shelf.c
  (svn_client_shelf_get_patch_abspath): Remove.

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

Modified: subversion/trunk/subversion/include/svn_client.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_client.h?rev=1826621&r1=1826620&r2=1826621&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_client.h (original)
+++ subversion/trunk/subversion/include/svn_client.h Tue Mar 13 10:13:04 2018
@@ -7050,17 +7050,6 @@ svn_client_shelf_unapply(svn_client_shel
                          svn_boolean_t dry_run,
                          apr_pool_t *scratch_pool);
 
-/** Set @a *patch_abspath to the patch file path of @a shelf_version.
- *
- * @since New in 1.X.
- * @warning EXPERIMENTAL.
- */
-SVN_EXPERIMENTAL
-svn_error_t *
-svn_client_shelf_get_patch_abspath(const char **patch_abspath,
-                                   svn_client_shelf_version_t *shelf_version,
-                                   apr_pool_t *scratch_pool);
-
 /** Output @a shelf_version as a patch to @a outstream.
  *
  * @since New in 1.X.

Modified: subversion/trunk/subversion/libsvn_client/shelf.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/shelf.c?rev=1826621&r1=1826620&r2=1826621&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/shelf.c (original)
+++ subversion/trunk/subversion/libsvn_client/shelf.c Tue Mar 13 10:13:04 2018
@@ -652,15 +652,6 @@ svn_client_shelf_delete_newer_versions(s
 }
 
 svn_error_t *
-svn_client_shelf_get_patch_abspath(const char **patch_abspath,
-                                   svn_client_shelf_version_t *shelf_version,
-                                   apr_pool_t *scratch_pool)
-{
-  *patch_abspath = shelf_version->patch_abspath;
-  return SVN_NO_ERROR;
-}
-
-svn_error_t *
 svn_client_shelf_export_patch(svn_client_shelf_version_t *shelf_version,
                               svn_stream_t *outstream,
                               apr_pool_t *scratch_pool)



Mime
View raw message