Index: www/hacking.html
===================================================================
--- www/hacking.html	(revision 32735)
+++ www/hacking.html	(working copy)
@@ -2659,15 +2659,17 @@
     * Similar to svn_repos_dump_fs2(), but with the @a use_deltas
     * parameter always set to @c FALSE.
     */
-   svn_error_t *svn_repos_dump_fs(svn_repos_t *repos,
-                                  svn_stream_t *dumpstream,
-                                  svn_stream_t *feedback_stream,
-                                  svn_revnum_t start_rev,
-                                  svn_revnum_t end_rev,
-                                  svn_boolean_t incremental,
-                                  svn_cancel_func_t cancel_func,
-                                  void *cancel_baton,
-                                  apr_pool_t *pool);
+   SVN_DEPRECATED
+   svn_error_t *
+   svn_repos_dump_fs(svn_repos_t *repos,
+                     svn_stream_t *dumpstream,
+                     svn_stream_t *feedback_stream,
+                     svn_revnum_t start_rev,
+                     svn_revnum_t end_rev,
+                     svn_boolean_t incremental,
+                     svn_cancel_func_t cancel_func,
+                     void *cancel_baton,
+                     apr_pool_t *pool);
 </pre>
 
 <p>When the major release number changes, the "best" new API in a
Index: subversion/bindings/swig/include/svn_global.swg
===================================================================
--- subversion/bindings/swig/include/svn_global.swg	(revision 32735)
+++ subversion/bindings/swig/include/svn_global.swg	(working copy)
@@ -26,8 +26,10 @@
    SWIG standard library before they get %apply-ed anywhere. */
 %include svn_swigcompat.swg
 
-/* SWIG can't understand __attribute__(x), so we make it go away */
+/* SWIG can't understand __attribute__(x) or __declspec(x), so we make
+   them go away */
 #define __attribute__(x)
+#define __declspec(x)
 
 /* SWIG doesn't handle variadic parameters well */
 %ignore svn_string_createv;
Index: subversion/include/svn_fs.h
===================================================================
--- subversion/include/svn_fs.h	(revision 32735)
+++ subversion/include/svn_fs.h	(working copy)
@@ -349,6 +349,7 @@
  * callback is registered with Berkeley DB, and will forward notifications to
  * a user provided callback after performing its own processing.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_fs_set_berkeley_errcall(svn_fs_t *fs,
                             void (*handler)(const char *errpfx,
@@ -387,31 +388,37 @@
  */
 
 /** @deprecated Provided for backward compatibility with the 1.0 API. */
+SVN_DEPRECATED
 svn_fs_t *
 svn_fs_new(apr_hash_t *fs_config,
            apr_pool_t *pool);
 
 /** @deprecated Provided for backward compatibility with the 1.0 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_fs_create_berkeley(svn_fs_t *fs,
                        const char *path);
 
 /** @deprecated Provided for backward compatibility with the 1.0 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_fs_open_berkeley(svn_fs_t *fs,
                      const char *path);
 
 /** @deprecated Provided for backward compatibility with the 1.0 API. */
+SVN_DEPRECATED
 const char *
 svn_fs_berkeley_path(svn_fs_t *fs,
                      apr_pool_t *pool);
 
 /** @deprecated Provided for backward compatibility with the 1.0 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_fs_delete_berkeley(const char *path,
                        apr_pool_t *pool);
 
 /** @deprecated Provided for backward compatibility with the 1.0 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_fs_hotcopy_berkeley(const char *src_path,
                         const char *dest_path,
@@ -419,6 +426,7 @@
                         apr_pool_t *pool);
 
 /** @deprecated Provided for backward compatibility with the 1.4 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_fs_berkeley_recover(const char *path,
                         apr_pool_t *pool);
@@ -505,6 +513,7 @@
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
 
+SVN_DEPRECATED
 svn_error_t *
 svn_fs_access_add_lock_token(svn_fs_access_t *access_ctx,
                              const char *token);
@@ -569,6 +578,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_fs_id_t *
 svn_fs_parse_id(const char *data,
                 apr_size_t len,
@@ -734,6 +744,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_fs_begin_txn(svn_fs_txn_t **txn_p,
                  svn_fs_t *fs,
@@ -1576,6 +1587,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.5 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_fs_file_md5_checksum(unsigned char digest[],
                          svn_fs_root_t *root,
Index: subversion/include/svn_diff.h
===================================================================
--- subversion/include/svn_diff.h	(revision 32735)
+++ subversion/include/svn_diff.h	(working copy)
@@ -424,6 +424,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_diff_file_diff(svn_diff_t **diff,
                    const char *original,
@@ -453,6 +454,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_diff_file_diff3(svn_diff_t **diff,
                     const char *original,
@@ -484,6 +486,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_diff_file_diff4(svn_diff_t **diff,
                     const char *original,
@@ -527,6 +530,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_diff_file_output_unified2(svn_stream_t *output_stream,
                               svn_diff_t *diff,
@@ -542,6 +546,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_diff_file_output_unified(svn_stream_t *output_stream,
                              svn_diff_t *diff,
@@ -593,6 +598,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.5 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_diff_file_output_merge(svn_stream_t *output_stream,
                            svn_diff_t *diff,
@@ -712,6 +718,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.5 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_diff_mem_string_output_merge(svn_stream_t *output_stream,
                                  svn_diff_t *diff,
Index: subversion/include/svn_base64.h
===================================================================
--- subversion/include/svn_base64.h	(revision 32735)
+++ subversion/include/svn_base64.h	(working copy)
@@ -25,6 +25,7 @@
 #include <apr_md5.h>
 
 #include "svn_io.h"
+#include "svn_types.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -77,6 +78,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.5 API.
  */
+SVN_DEPRECATED
 const svn_string_t *
 svn_base64_encode_string(const svn_string_t *str,
                          apr_pool_t *pool);
Index: subversion/include/svn_dso.h
===================================================================
--- subversion/include/svn_dso.h	(revision 32735)
+++ subversion/include/svn_dso.h	(working copy)
@@ -27,6 +27,7 @@
 #include <apr_dso.h>
 
 #include "svn_error.h"
+#include "svn_types.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -72,6 +73,7 @@
  *
  * @since New in 1.4.
  */
+SVN_DEPRECATED
 void
 svn_dso_initialize(void);
 
Index: subversion/include/svn_ra_svn.h
===================================================================
--- subversion/include/svn_ra_svn.h	(revision 32735)
+++ subversion/include/svn_ra_svn.h	(working copy)
@@ -31,6 +31,7 @@
 #include "svn_config.h"
 
 #include "svn_delta.h"
+#include "svn_types.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -396,6 +397,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.5 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_svn_handle_commands(svn_ra_svn_conn_t *conn,
                            apr_pool_t *pool,
Index: subversion/include/svn_repos.h
===================================================================
--- subversion/include/svn_repos.h	(revision 32735)
+++ subversion/include/svn_repos.h	(working copy)
@@ -347,6 +347,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_recover2(const char *path,
                    svn_boolean_t nonblocking,
@@ -360,6 +361,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_recover(const char *path,
                   apr_pool_t *pool);
@@ -582,6 +584,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_begin_report(void **report_baton,
                        svn_revnum_t revnum,
@@ -649,6 +652,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_set_path2(void *report_baton,
                     const char *path,
@@ -662,6 +666,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_set_path(void *report_baton,
                    const char *path,
@@ -712,6 +717,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_link_path2(void *report_baton,
                      const char *path,
@@ -726,6 +732,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_link_path(void *report_baton,
                     const char *path,
@@ -872,6 +879,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_dir_delta(svn_fs_root_t *src_root,
                     const char *src_parent_dir,
@@ -940,6 +948,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_replay(svn_fs_root_t *root,
                  const svn_delta_editor_t *editor,
@@ -1017,6 +1026,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_get_commit_editor4(const svn_delta_editor_t **editor,
                              void **edit_baton,
@@ -1040,6 +1050,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_get_commit_editor3(const svn_delta_editor_t **editor,
                              void **edit_baton,
@@ -1061,6 +1072,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_get_commit_editor2(const svn_delta_editor_t **editor,
                              void **edit_baton,
@@ -1081,6 +1093,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_get_commit_editor(const svn_delta_editor_t **editor,
                             void **edit_baton,
@@ -1217,6 +1230,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_history(svn_fs_t *fs,
                   const char *path,
@@ -1396,6 +1410,7 @@
  * @since New in 1.2.
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_get_logs3(svn_repos_t *repos,
                     const apr_array_header_t *paths,
@@ -1416,6 +1431,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_get_logs2(svn_repos_t *repos,
                     const apr_array_header_t *paths,
@@ -1435,6 +1451,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_get_logs(svn_repos_t *repos,
                    const apr_array_header_t *paths,
@@ -1545,6 +1562,7 @@
  * @deprecated Provided for backward compatibility with the 1.4 API.
  * @since New in 1.1.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_get_file_revs(svn_repos_t *repos,
                         const char *path,
@@ -1616,6 +1634,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_fs_begin_txn_for_commit(svn_fs_txn_t **txn_p,
                                   svn_repos_t *repos,
@@ -1749,6 +1768,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_fs_change_rev_prop2(svn_repos_t *repos,
                               svn_revnum_t rev,
@@ -1766,6 +1786,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_fs_change_rev_prop(svn_repos_t *repos,
                              svn_revnum_t rev,
@@ -2110,6 +2131,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_dump_fs(svn_repos_t *repos,
                   svn_stream_t *dumpstream,
@@ -2177,6 +2199,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_load_fs(svn_repos_t *repos,
                   svn_stream_t *dumpstream,
@@ -2396,6 +2419,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_parse_dumpstream(svn_stream_t *stream,
                            const svn_repos_parser_fns_t *parse_fns,
@@ -2411,6 +2435,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_repos_get_fs_build_parser(const svn_repos_parser_fns_t **parser,
                               void **parse_baton,
Index: subversion/include/svn_delta.h
===================================================================
--- subversion/include/svn_delta.h	(revision 32735)
+++ subversion/include/svn_delta.h	(working copy)
@@ -427,6 +427,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_txdelta_to_svndiff(svn_stream_t *output,
                        apr_pool_t *pool,
Index: subversion/include/svn_subst.h
===================================================================
--- subversion/include/svn_subst.h	(revision 32735)
+++ subversion/include/svn_subst.h	(working copy)
@@ -140,6 +140,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_subst_build_keywords(svn_subst_keywords_t *kw,
                          const char *keywords_string,
@@ -177,6 +178,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_boolean_t
 svn_subst_keywords_differ(const svn_subst_keywords_t *a,
                           const svn_subst_keywords_t *b,
@@ -291,6 +293,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_subst_translate_stream2(svn_stream_t *src,
                             svn_stream_t *dst,
@@ -308,6 +311,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_subst_translate_stream(svn_stream_t *src,
                            svn_stream_t *dst,
@@ -354,6 +358,7 @@
  * @deprecated Provided for backward compatibility with the 1.2 API.
  * @since New in 1.1.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_subst_copy_and_translate2(const char *src,
                               const char *dst,
@@ -370,6 +375,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_subst_copy_and_translate(const char *src,
                              const char *dst,
@@ -408,6 +414,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_subst_translate_cstring(const char *src,
                             const char **dst,
Index: subversion/include/svn_types.h
===================================================================
--- subversion/include/svn_types.h	(revision 32735)
+++ subversion/include/svn_types.h	(working copy)
@@ -38,6 +38,26 @@
 
 
 
+/** Macro used to mark deprecated functions.
+ *
+ * @since New in 1.6.
+ */
+#ifndef SVN_DEPRECATED
+#if !defined(SWIGPERL) && !defined(SWIGPYTHON) && !defined(SWIGRUBY)
+#if defined(__GNUC__)
+#define SVN_DEPRECATED __attribute__((deprecated))
+#elif defined(_MSC_VER) && _MSC_VER >= 1300
+#define SVN_DEPRECATED __declspec(deprecated)
+#else
+#define SVN_DEPRECATED
+#endif
+#else
+#define SVN_DEPRECATED
+#endif
+#endif
+
+
+
 /** Subversion error object.
  *
  * Defined here, rather than in svn_error.h, to avoid a recursive @#include
Index: subversion/include/svn_config.h
===================================================================
--- subversion/include/svn_config.h	(revision 32735)
+++ subversion/include/svn_config.h	(working copy)
@@ -295,6 +295,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 int
 svn_config_enumerate_sections(svn_config_t *cfg,
                               svn_config_section_enumerator_t callback,
@@ -341,6 +342,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 int
 svn_config_enumerate(svn_config_t *cfg,
                      const char *section,
Index: subversion/include/svn_io.h
===================================================================
--- subversion/include/svn_io.h	(revision 32735)
+++ subversion/include/svn_io.h	(working copy)
@@ -185,6 +185,7 @@
  *       required.
  *
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_io_open_unique_file(apr_file_t **f,
                         const char **unique_name_p,
@@ -364,6 +365,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_io_set_file_read_write_carefully(const char *path,
                                      svn_boolean_t enable_write,
@@ -504,6 +506,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_io_file_lock(const char *lock_file,
                  svn_boolean_t exclusive,
@@ -659,6 +662,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_stream_t *
 svn_stream_from_aprfile(apr_file_t *file,
                         apr_pool_t *pool);
@@ -736,6 +740,7 @@
  * @since New in 1.4.
  * @deprecated Provided for backward compatibility with the 1.5 API.
  */
+SVN_DEPRECATED
 svn_stream_t *
 svn_stream_checksummed(svn_stream_t *stream,
                        const unsigned char **read_digest,
@@ -824,6 +829,7 @@
  * @since New in 1.1.
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_stream_copy(svn_stream_t *from,
                 svn_stream_t *to,
@@ -865,6 +871,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_stringbuf_from_file(svn_stringbuf_t **result,
                         const char *filename,
@@ -907,6 +914,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_io_remove_dir(const char *path,
                   apr_pool_t *pool);
@@ -947,6 +955,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_io_get_dirents(apr_hash_t **dirents,
                    const char *path,
@@ -1133,6 +1142,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_io_run_diff3(const char *dir,
                  const char *mine,
@@ -1185,6 +1195,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_io_detect_mimetype(const char **mimetype,
                        const char *file,
Index: subversion/include/svn_wc.h
===================================================================
--- subversion/include/svn_wc.h	(revision 32735)
+++ subversion/include/svn_wc.h	(working copy)
@@ -194,6 +194,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_adm_open2(svn_wc_adm_access_t **adm_access,
                  svn_wc_adm_access_t *associated,
@@ -209,6 +210,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_adm_open(svn_wc_adm_access_t **adm_access,
                 svn_wc_adm_access_t *associated,
@@ -246,6 +248,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_adm_probe_open2(svn_wc_adm_access_t **adm_access,
                        svn_wc_adm_access_t *associated,
@@ -261,6 +264,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_adm_probe_open(svn_wc_adm_access_t **adm_access,
                       svn_wc_adm_access_t *associated,
@@ -369,6 +373,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_adm_probe_try2(svn_wc_adm_access_t **adm_access,
                       svn_wc_adm_access_t *associated,
@@ -384,6 +389,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_adm_probe_try(svn_wc_adm_access_t **adm_access,
                      svn_wc_adm_access_t *associated,
@@ -618,6 +624,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_wc_external_item_t *
 svn_wc_external_item_dup(const svn_wc_external_item_t *item,
                          apr_pool_t *pool);
@@ -659,6 +666,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_parse_externals_description2(apr_array_header_t **externals_p,
                                     const char *parent_directory,
@@ -673,6 +681,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_parse_externals_description(apr_hash_t **externals_p,
                                    const char *parent_directory,
@@ -2087,6 +2096,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_walk_entries2(const char *path,
                      svn_wc_adm_access_t *adm_access,
@@ -2103,6 +2113,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_walk_entries(const char *path,
                     svn_wc_adm_access_t *adm_access,
@@ -2164,6 +2175,7 @@
  *
  * @since New in 1.3.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_ensure_adm2(const char *path,
                    const char *uuid,
@@ -2178,6 +2190,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_ensure_adm(const char *path,
                   const char *uuid,
@@ -2432,6 +2445,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_wc_status_t *
 svn_wc_dup_status(svn_wc_status_t *orig_stat,
                   apr_pool_t *pool);
@@ -2476,6 +2490,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_status(svn_wc_status_t **status,
               const char *path,
@@ -2593,6 +2608,7 @@
  * @since New in 1.2.
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_status_editor2(const svn_delta_editor_t **editor,
                           void **edit_baton,
@@ -2617,6 +2633,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_status_editor(const svn_delta_editor_t **editor,
                          void **edit_baton,
@@ -2697,6 +2714,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_copy(const char *src,
             svn_wc_adm_access_t *dst_parent,
@@ -2747,6 +2765,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_delete2(const char *path,
                svn_wc_adm_access_t *adm_access,
@@ -2761,6 +2780,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_delete(const char *path,
               svn_wc_adm_access_t *adm_access,
@@ -2847,6 +2867,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.5 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_add2(const char *path,
             svn_wc_adm_access_t *parent_access,
@@ -2863,6 +2884,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_add(const char *path,
            svn_wc_adm_access_t *parent_access,
@@ -2930,6 +2952,7 @@
  *
  */
 
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_add_repos_file(const char *dst_path,
                       svn_wc_adm_access_t *adm_access,
@@ -3048,6 +3071,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_resolved_conflict2(const char *path,
                           svn_wc_adm_access_t *adm_access,
@@ -3066,6 +3090,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_resolved_conflict(const char *path,
                          svn_wc_adm_access_t *adm_access,
@@ -3195,6 +3220,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_process_committed3(const char *path,
                           svn_wc_adm_access_t *adm_access,
@@ -3214,6 +3240,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_process_committed2(const char *path,
                           svn_wc_adm_access_t *adm_access,
@@ -3231,6 +3258,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_process_committed(const char *path,
                          svn_wc_adm_access_t *adm_access,
@@ -3313,6 +3341,7 @@
  *
  * @deprecated Provided for compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_crawl_revisions2(const char *path,
                         svn_wc_adm_access_t *adm_access,
@@ -3332,6 +3361,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_crawl_revisions(const char *path,
                        svn_wc_adm_access_t *adm_access,
@@ -3488,6 +3518,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_update_editor2(svn_revnum_t *target_revision,
                           svn_wc_adm_access_t *anchor,
@@ -3510,6 +3541,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_update_editor(svn_revnum_t *target_revision,
                          svn_wc_adm_access_t *anchor,
@@ -3616,6 +3648,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_switch_editor2(svn_revnum_t *target_revision,
                           svn_wc_adm_access_t *anchor,
@@ -3639,6 +3672,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_switch_editor(svn_revnum_t *target_revision,
                          svn_wc_adm_access_t *anchor,
@@ -3736,6 +3770,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_prop_set(const char *name,
                 const svn_string_t *value,
@@ -3882,6 +3917,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.5 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_diff_editor4(svn_wc_adm_access_t *anchor,
                         const char *target,
@@ -3907,6 +3943,7 @@
 
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_diff_editor3(svn_wc_adm_access_t *anchor,
                         const char *target,
@@ -3929,6 +3966,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_diff_editor2(svn_wc_adm_access_t *anchor,
                         const char *target,
@@ -3951,6 +3989,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_get_diff_editor(svn_wc_adm_access_t *anchor,
                        const char *target,
@@ -4011,6 +4050,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.5 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_diff4(svn_wc_adm_access_t *anchor,
              const char *target,
@@ -4029,6 +4069,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_diff3(svn_wc_adm_access_t *anchor,
              const char *target,
@@ -4044,6 +4085,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_diff2(svn_wc_adm_access_t *anchor,
              const char *target,
@@ -4059,6 +4101,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_diff(svn_wc_adm_access_t *anchor,
             const char *target,
@@ -4200,6 +4243,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_merge2(enum svn_wc_merge_outcome_t *merge_outcome,
               const char *left,
@@ -4219,6 +4263,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_merge(const char *left,
              const char *right,
@@ -4277,6 +4322,7 @@
  * @deprecated Provided for backward compatibility with the 1.3 API.
  *
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_merge_props(svn_wc_notify_state_t *state,
                    const char *path,
@@ -4297,6 +4343,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_merge_prop_diffs(svn_wc_notify_state_t *state,
                         const char *path,
@@ -4348,6 +4395,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_cleanup(const char *path,
                svn_wc_adm_access_t *optional_adm_access,
@@ -4421,6 +4469,7 @@
 /** Similar to svn_wc_relocate3(), but uses @c svn_wc_relocation_validator2_t.
  *
  * @deprecated Provided for backwards compatibility with the 1.4 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_relocate2(const char *path,
                  svn_wc_adm_access_t *adm_access,
@@ -4434,6 +4483,7 @@
 /** Similar to svn_wc_relocate2(), but uses @c svn_wc_relocation_validator_t.
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_relocate(const char *path,
                 svn_wc_adm_access_t *adm_access,
@@ -4508,6 +4558,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_revert2(const char *path,
                svn_wc_adm_access_t *parent_access,
@@ -4524,6 +4575,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_revert(const char *path,
               svn_wc_adm_access_t *parent_access,
@@ -4563,6 +4615,7 @@
  *
  * @deprecated For compatibility with 1.3 API
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_create_tmp_file(apr_file_t **fp,
                        const char *path,
@@ -4618,6 +4671,7 @@
  *
  * @deprecated Provided for compatibility with the 1.3 API
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_translated_file(const char **xlated_p,
                        const char *vfile,
@@ -4696,6 +4750,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_wc_transmit_text_deltas(const char *path,
                             svn_wc_adm_access_t *adm_access,
Index: subversion/include/svn_cmdline.h
===================================================================
--- subversion/include/svn_cmdline.h	(revision 32735)
+++ subversion/include/svn_cmdline.h	(working copy)
@@ -34,6 +34,7 @@
 #include "svn_utf.h"
 #include "svn_auth.h"
 #include "svn_config.h"
+#include "svn_types.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -180,6 +181,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_cmdline_prompt_user(const char **result,
                         const char *prompt_str,
@@ -329,6 +331,7 @@
  * function name is distinguished from the old by a grammatical
  * improvement: the verb "set_up" instead of the noun "setup".
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_cmdline_setup_auth_baton(svn_auth_baton_t **ab,
                              svn_boolean_t non_interactive,
Index: subversion/include/svn_client.h
===================================================================
--- subversion/include/svn_client.h	(revision 32735)
+++ subversion/include/svn_client.h	(working copy)
@@ -105,6 +105,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_simple_prompt_provider
   (svn_auth_provider_object_t **provider,
@@ -127,6 +128,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_username_prompt_provider
   (svn_auth_provider_object_t **provider,
@@ -149,6 +151,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_simple_provider(svn_auth_provider_object_t **provider,
                                apr_pool_t *pool);
@@ -176,6 +179,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_windows_simple_provider(svn_auth_provider_object_t **provider,
                                        apr_pool_t *pool);
@@ -192,6 +196,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_username_provider(svn_auth_provider_object_t **provider,
                                  apr_pool_t *pool);
@@ -206,6 +211,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_ssl_server_trust_file_provider
   (svn_auth_provider_object_t **provider,
@@ -221,6 +227,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_ssl_client_cert_file_provider
   (svn_auth_provider_object_t **provider,
@@ -236,6 +243,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_ssl_client_cert_pw_file_provider
   (svn_auth_provider_object_t **provider,
@@ -251,6 +259,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_ssl_server_trust_prompt_provider
   (svn_auth_provider_object_t **provider,
@@ -269,6 +278,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_ssl_client_cert_prompt_provider
   (svn_auth_provider_object_t **provider,
@@ -288,6 +298,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_client_get_ssl_client_cert_pw_prompt_provider
   (svn_auth_provider_object_t **provider,
@@ -343,6 +354,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_client_proplist_item_t *
 svn_client_proplist_item_dup(const svn_client_proplist_item_t *item,
                              apr_pool_t *pool);
@@ -535,6 +547,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_client_commit_item2_t *
 svn_client_commit_item2_dup(const svn_client_commit_item2_t *item,
                             apr_pool_t *pool);
@@ -1031,6 +1044,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_checkout2(svn_revnum_t *result_rev,
                      const char *URL,
@@ -1050,6 +1064,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_checkout(svn_revnum_t *result_rev,
                     const char *URL,
@@ -1140,6 +1155,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_update2(apr_array_header_t **result_revs,
                    const apr_array_header_t *paths,
@@ -1156,6 +1172,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_update(svn_revnum_t *result_rev,
                   const char *path,
@@ -1239,6 +1256,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_switch(svn_revnum_t *result_rev,
                   const char *path,
@@ -1312,6 +1330,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_add3(const char *path,
                 svn_boolean_t recursive,
@@ -1326,6 +1345,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_add2(const char *path,
                 svn_boolean_t recursive,
@@ -1338,6 +1358,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_add(const char *path,
                svn_boolean_t recursive,
@@ -1399,6 +1420,7 @@
  * @since New in 1.3.
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_mkdir2(svn_commit_info_t **commit_info_p,
                   const apr_array_header_t *paths,
@@ -1411,6 +1433,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_mkdir(svn_client_commit_info_t **commit_info_p,
                  const apr_array_header_t *paths,
@@ -1482,6 +1505,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_delete2(svn_commit_info_t **commit_info_p,
                    const apr_array_header_t *paths,
@@ -1495,6 +1519,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_delete(svn_client_commit_info_t **commit_info_p,
                   const apr_array_header_t *paths,
@@ -1579,6 +1604,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_import2(svn_commit_info_t **commit_info_p,
                    const char *path,
@@ -1595,6 +1621,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_import(svn_client_commit_info_t **commit_info_p,
                   const char *path,
@@ -1684,6 +1711,7 @@
  *
  * @since New in 1.3.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_commit3(svn_commit_info_t **commit_info_p,
                    const apr_array_header_t *targets,
@@ -1700,6 +1728,7 @@
  *
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_commit2(svn_client_commit_info_t **commit_info_p,
                    const apr_array_header_t *targets,
@@ -1714,6 +1743,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_commit(svn_client_commit_info_t **commit_info_p,
                   const apr_array_header_t *targets,
@@ -1786,6 +1816,7 @@
  * @since New in 1.2.
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_status2(svn_revnum_t *result_rev,
                    const char *path,
@@ -1810,6 +1841,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_status(svn_revnum_t *result_rev,
                   const char *path,
@@ -1901,6 +1933,7 @@
  * @deprecated Provided for compatibility with the 1.4 API.
  * @since New in 1.4.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_log3(const apr_array_header_t *targets,
                 const svn_opt_revision_t *peg_revision,
@@ -1922,6 +1955,7 @@
  * @deprecated Provided for compatibility with the 1.3 API.
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_log2(const apr_array_header_t *targets,
                 const svn_opt_revision_t *start,
@@ -1955,6 +1989,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_log(const apr_array_header_t *targets,
                const svn_opt_revision_t *start,
@@ -2023,6 +2058,7 @@
  *
  * @since New in 1.4.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_blame3(const char *path_or_url,
                   const svn_opt_revision_t *peg_revision,
@@ -2044,6 +2080,7 @@
  *
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_blame2(const char *path_or_url,
                   const svn_opt_revision_t *peg_revision,
@@ -2060,6 +2097,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_blame(const char *path_or_url,
                  const svn_opt_revision_t *start,
@@ -2175,6 +2213,7 @@
  *
  * @since New in 1.3.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_diff3(const apr_array_header_t *diff_options,
                  const char *path1,
@@ -2200,6 +2239,7 @@
  *
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_diff2(const apr_array_header_t *diff_options,
                  const char *path1,
@@ -2221,6 +2261,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_diff(const apr_array_header_t *diff_options,
                 const char *path1,
@@ -2277,6 +2318,7 @@
  *
  * @since New in 1.3.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_diff_peg3(const apr_array_header_t *diff_options,
                      const char *path,
@@ -2301,6 +2343,7 @@
  *
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_diff_peg2(const apr_array_header_t *diff_options,
                      const char *path,
@@ -2323,6 +2366,7 @@
  * @since New in 1.1.
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_diff_peg(const apr_array_header_t *diff_options,
                     const char *path,
@@ -2376,6 +2420,7 @@
  *
  * @since New in 1.4.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_diff_summarize(const char *path1,
                           const svn_opt_revision_t *revision1,
@@ -2432,6 +2477,7 @@
  *
  * @since New in 1.4.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_diff_summarize_peg(const char *path,
                               const svn_opt_revision_t *peg_revision,
@@ -2537,6 +2583,7 @@
  *
  * @since New in 1.4.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_merge2(const char *source1,
                   const svn_opt_revision_t *revision1,
@@ -2557,6 +2604,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_merge(const char *source1,
                  const svn_opt_revision_t *revision1,
@@ -2637,6 +2685,7 @@
  *
  * @since New in 1.4.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_merge_peg2(const char *source,
                       const svn_opt_revision_t *revision1,
@@ -2659,6 +2708,7 @@
  *
  * @since New in 1.1.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_merge_peg(const char *source,
                      const svn_opt_revision_t *revision1,
@@ -2876,6 +2926,7 @@
  *
  * @deprecated Provided for backwards compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_revert(const apr_array_header_t *paths,
                   svn_boolean_t recursive,
@@ -2897,6 +2948,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_resolved(const char *path,
                     svn_boolean_t recursive,
@@ -3045,6 +3097,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_copy3(svn_commit_info_t **commit_info_p,
                  const char *src_path,
@@ -3063,6 +3116,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_copy2(svn_commit_info_t **commit_info_p,
                  const char *src_path,
@@ -3078,6 +3132,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_copy(svn_client_commit_info_t **commit_info_p,
                 const char *src_path,
@@ -3191,6 +3246,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_move4(svn_commit_info_t **commit_info_p,
                  const char *src_path,
@@ -3208,6 +3264,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_move3(svn_commit_info_t **commit_info_p,
                  const char *src_path,
@@ -3224,6 +3281,7 @@
  *
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_move2(svn_client_commit_info_t **commit_info_p,
                  const char *src_path,
@@ -3240,6 +3298,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_move(svn_client_commit_info_t **commit_info_p,
                 const char *src_path,
@@ -3340,6 +3399,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_propset2(const char *propname,
                     const svn_string_t *propval,
@@ -3355,6 +3415,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_propset(const char *propname,
                    const svn_string_t *propval,
@@ -3414,6 +3475,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_revprop_set(const char *propname,
                        const svn_string_t *propval,
@@ -3484,6 +3546,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_propget2(apr_hash_t **props,
                     const char *propname,
@@ -3500,6 +3563,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_propget(apr_hash_t **props,
                    const char *propname,
@@ -3588,6 +3652,7 @@
  *
  * @deprecated Provided for backward compatiblility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_proplist2(apr_array_header_t **props,
                      const char *target,
@@ -3603,6 +3668,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_proplist(apr_array_header_t **props,
                     const char *target,
@@ -3714,6 +3780,7 @@
  *
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_export3(svn_revnum_t *result_rev,
                    const char *from,
@@ -3737,6 +3804,7 @@
  * @since New in 1.1.
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_export2(svn_revnum_t *result_rev,
                    const char *from,
@@ -3754,6 +3822,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_export(svn_revnum_t *result_rev,
                   const char *from,
@@ -3840,6 +3909,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_list(const char *path_or_url,
                 const svn_opt_revision_t *peg_revision,
@@ -3868,6 +3938,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_ls3(apr_hash_t **dirents,
                apr_hash_t **locks,
@@ -3885,6 +3956,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_ls2(apr_hash_t **dirents,
                const char *path_or_url,
@@ -3900,6 +3972,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_ls(apr_hash_t **dirents,
               const char *path_or_url,
@@ -3954,6 +4027,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_cat(svn_stream_t *out,
                const char *path_or_url,
@@ -4326,6 +4400,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_client_info(const char *path_or_url,
                 const svn_opt_revision_t *peg_revision,
Index: subversion/include/svn_hash.h
===================================================================
--- subversion/include/svn_hash.h	(revision 32735)
+++ subversion/include/svn_hash.h	(working copy)
@@ -127,6 +127,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_hash_read(apr_hash_t *hash,
               apr_file_t *srcfile,
@@ -138,6 +139,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.0 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_hash_write(apr_hash_t *hash,
                apr_file_t *destfile,
Index: subversion/include/svn_error.h
===================================================================
--- subversion/include/svn_error.h	(revision 32735)
+++ subversion/include/svn_error.h	(working copy)
@@ -214,6 +214,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 void
 svn_handle_error(svn_error_t *error,
                  FILE *stream,
Index: subversion/include/svn_utf.h
===================================================================
--- subversion/include/svn_utf.h	(revision 32735)
+++ subversion/include/svn_utf.h	(working copy)
@@ -28,6 +28,7 @@
 
 #include "svn_error.h"
 #include "svn_string.h"
+#include "svn_types.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -94,6 +95,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_utf_cstring_to_utf8_ex(const char **dest,
                            const char *src,
@@ -146,6 +148,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_utf_cstring_from_utf8_ex(const char **dest,
                              const char *src,
Index: subversion/include/svn_auth.h
===================================================================
--- subversion/include/svn_auth.h	(revision 32735)
+++ subversion/include/svn_auth.h	(working copy)
@@ -778,6 +778,7 @@
  * @deprecated Provided for backwards compatibility with the 1.5 API.
  * @since New in 1.4.
  */
+SVN_DEPRECATED
 void
 svn_auth_get_simple_provider(svn_auth_provider_object_t **provider,
                              apr_pool_t *pool);
@@ -919,6 +920,7 @@
  * @deprecated Provided for backwards compatibility with the 1.5 API.
  * @since New in 1.4.
  */
+SVN_DEPRECATED
 void
 svn_auth_get_ssl_client_cert_pw_file_provider
   (svn_auth_provider_object_t **provider,
Index: subversion/include/svn_ra.h
===================================================================
--- subversion/include/svn_ra.h	(revision 32735)
+++ subversion/include/svn_ra.h	(working copy)
@@ -32,6 +32,7 @@
 #include "svn_delta.h"
 #include "svn_auth.h"
 #include "svn_mergeinfo.h"
+#include "svn_types.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -604,6 +605,7 @@
  * @since New in 1.3.
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_open2(svn_ra_session_t **session_p,
              const char *repos_URL,
@@ -617,6 +619,7 @@
  * @since New in 1.2.
  * @deprecated Provided for backward compatibility with the 1.2 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_open(svn_ra_session_t **session_p,
             const char *repos_URL,
@@ -785,6 +788,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_get_commit_editor2(svn_ra_session_t *session,
                           const svn_delta_editor_t **editor,
@@ -803,6 +807,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_get_commit_editor(svn_ra_session_t *session,
                          const svn_delta_editor_t **editor,
@@ -893,6 +898,7 @@
  *
  * @deprecated Provided for compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_get_dir(svn_ra_session_t *session,
                const char *path,
@@ -1004,6 +1010,7 @@
  *
  * @deprecated Provided for compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_do_update(svn_ra_session_t *session,
                  const svn_ra_reporter2_t **reporter,
@@ -1079,6 +1086,7 @@
  *
  * @deprecated Provided for compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_do_switch(svn_ra_session_t *session,
                  const svn_ra_reporter2_t **reporter,
@@ -1150,6 +1158,7 @@
  *
  * @deprecated Provided for compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_do_status(svn_ra_session_t *session,
                  const svn_ra_reporter2_t **reporter,
@@ -1241,6 +1250,7 @@
  *
  * @deprecated Provided for compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_do_diff2(svn_ra_session_t *session,
                 const svn_ra_reporter2_t **reporter,
@@ -1261,6 +1271,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_do_diff(svn_ra_session_t *session,
                const svn_ra_reporter2_t **reporter,
@@ -1354,6 +1365,7 @@
  * @since New in 1.2.
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_get_log(svn_ra_session_t *session,
                const apr_array_header_t *paths,
@@ -1416,6 +1428,7 @@
  * @deprecated Provided for backward compatibility with the 1.4 API.
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_get_uuid(svn_ra_session_t *session,
                 const char **uuid,
@@ -1441,6 +1454,7 @@
  * @deprecated Provided for backward compatibility with the 1.4 API.
  * @since New in 1.2.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_get_repos_root(svn_ra_session_t *session,
                       const char **url,
@@ -1542,6 +1556,7 @@
  * @since New in 1.2.
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_get_file_revs(svn_ra_session_t *session,
                      const char *path,
@@ -1811,6 +1826,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_print_ra_libraries(svn_stringbuf_t **descriptions,
                           void *ra_baton,
@@ -2100,6 +2116,7 @@
 /** Initialize libsvn_ra_neon.
  *
  * @deprecated Provided for backward compatibility with the 1.1 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_dav_init(int abi_version,
                 apr_pool_t *pool,
@@ -2108,6 +2125,7 @@
 /** Initialize libsvn_ra_local.
  *
  * @deprecated Provided for backward compatibility with the 1.1 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_local_init(int abi_version,
                   apr_pool_t *pool,
@@ -2116,6 +2134,7 @@
 /** Initialize libsvn_ra_svn.
  *
  * @deprecated Provided for backward compatibility with the 1.1 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_svn_init(int abi_version,
                 apr_pool_t *pool,
@@ -2125,6 +2144,7 @@
  *
  * @since New in 1.4.
  * @deprecated Provided for backward compatibility with the 1.1 API. */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_serf_init(int abi_version,
                  apr_pool_t *pool,
@@ -2137,6 +2157,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_init_ra_libs(void **ra_baton,
                     apr_pool_t *pool);
@@ -2149,6 +2170,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_ra_get_ra_library(svn_ra_plugin_t **library,
                       void *ra_baton,
Index: subversion/include/svn_opt.h
===================================================================
--- subversion/include/svn_opt.h	(revision 32735)
+++ subversion/include/svn_opt.h	(working copy)
@@ -144,6 +144,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 const svn_opt_subcommand_desc_t *
 svn_opt_get_canonical_subcommand(const svn_opt_subcommand_desc_t *table,
                                  const char *cmd_name);
@@ -174,6 +175,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 const apr_getopt_option_t *
 svn_opt_get_option_from_code(int code,
                              const apr_getopt_option_t *option_table);
@@ -198,6 +200,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_boolean_t
 svn_opt_subcommand_takes_option2(const svn_opt_subcommand_desc2_t *command,
                                  int option_code);
@@ -212,6 +215,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_boolean_t
 svn_opt_subcommand_takes_option(const svn_opt_subcommand_desc_t *command,
                                 int option_code);
@@ -246,6 +250,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_opt_print_generic_help(const char *header,
                            const svn_opt_subcommand_desc_t *cmd_table,
@@ -291,6 +296,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 void
 svn_opt_subcommand_help2(const char *subcommand,
                          const svn_opt_subcommand_desc2_t *table,
@@ -304,6 +310,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 void
 svn_opt_subcommand_help(const char *subcommand,
                         const svn_opt_subcommand_desc_t *table,
@@ -492,6 +499,7 @@
  * @deprecated Provided for backward compatibility with the 1.5 API.
  * @see svn_client_args_to_target_array()
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_opt_args_to_target_array3(apr_array_header_t **targets_p,
                               apr_getopt_t *os,
@@ -507,6 +515,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_opt_args_to_target_array2(apr_array_header_t **targets_p,
                               apr_getopt_t *os,
@@ -528,6 +537,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.1 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_opt_args_to_target_array(apr_array_header_t **targets_p,
                              apr_getopt_t *os,
@@ -684,6 +694,7 @@
  * @deprecated Provided for backward compatibility with the 1.4 API.
  */
 
+SVN_DEPRECATED
 svn_error_t *
 svn_opt_print_help2(apr_getopt_t *os,
                     const char *pgm_name,
@@ -702,6 +713,7 @@
  *
  * @deprecated Provided for backward compatibility with the 1.3 API.
  */
+SVN_DEPRECATED
 svn_error_t *
 svn_opt_print_help(apr_getopt_t *os,
                    const char *pgm_name,

