2 * deprecated.c: holding file for all deprecated APIs.
3 * "we can't lose 'em, but we can shun 'em!"
5 * ====================================================================
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements. See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership. The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License. You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied. See the License for the
20 * specific language governing permissions and limitations
22 * ====================================================================
25 /* We define this here to remove any further warnings about the usage of
26 deprecated functions in this file. */
27 #define SVN_DEPRECATED
32 /*** From fs-loader.c ***/
34 svn_fs_upgrade(const char *path, apr_pool_t *pool)
36 return svn_error_trace(svn_fs_upgrade2(path, NULL, NULL, NULL, NULL, pool));
40 svn_fs_hotcopy2(const char *src_path, const char *dest_path,
41 svn_boolean_t clean, svn_boolean_t incremental,
42 svn_cancel_func_t cancel_func, void *cancel_baton,
43 apr_pool_t *scratch_pool)
45 return svn_error_trace(svn_fs_hotcopy3(src_path, dest_path, clean,
46 incremental, NULL, NULL,
47 cancel_func, cancel_baton,
52 svn_fs_hotcopy(const char *src_path, const char *dest_path,
53 svn_boolean_t clean, apr_pool_t *pool)
55 return svn_error_trace(svn_fs_hotcopy2(src_path, dest_path, clean,
56 FALSE, NULL, NULL, pool));
60 svn_fs_begin_txn(svn_fs_txn_t **txn_p, svn_fs_t *fs, svn_revnum_t rev,
63 return svn_error_trace(svn_fs_begin_txn2(txn_p, fs, rev, 0, pool));
67 svn_fs_change_rev_prop(svn_fs_t *fs, svn_revnum_t rev, const char *name,
68 const svn_string_t *value, apr_pool_t *pool)
70 return svn_error_trace(
71 svn_fs_change_rev_prop2(fs, rev, name, NULL, value, pool));
75 svn_fs_get_locks(svn_fs_t *fs, const char *path,
76 svn_fs_get_locks_callback_t get_locks_func,
77 void *get_locks_baton, apr_pool_t *pool)
79 return svn_error_trace(svn_fs_get_locks2(fs, path, svn_depth_infinity,
80 get_locks_func, get_locks_baton,
84 /*** From access.c ***/
86 svn_fs_access_add_lock_token(svn_fs_access_t *access_ctx,
89 return svn_fs_access_add_lock_token2(access_ctx, (const char *) 1, token);