Lines Matching defs:baton

235 check_cancel(void *baton)
386 void *baton,
397 void *baton,
404 err = func(session, baton, pool);
612 /* InitEdit baton */
624 /* InitDir baton */
634 /* InitFile baton */
902 /* Set WRAPPED_EDITOR and WRAPPED_EDIT_BATON to an editor/baton pair
973 void *baton,
976 init_baton_t *sb = baton;
987 * using information found in baton B, while the repository is
994 init_baton_t *baton = b;
1028 SVN_ERR(svn_ra_open3(&from_session, baton->from_url, NULL, baton->callbacks,
1029 baton, baton->config, pool));
1031 SVN_ERR(svn_ra_open2(&from_session, baton->from_url, baton->callbacks,
1032 baton, baton->config, pool));
1035 SVN_ERR(check_if_session_is_at_repos_root(from_session, baton->from_url,
1039 svn_string_create(baton->from_url, pool),
1052 start_rev_str = svn_string_create(apr_psprintf(pool, "%ld", baton->start_rev),
1058 if (!baton->default_process)
1060 else default_process = baton->default_process;
1064 if (baton->replace_externals)
1068 if (baton->replace_license)
1094 if (baton->start_rev > 0)
1111 init_commit_callback, baton,
1114 SVN_ERR(svn_ra_open3(&from_session_prop, baton->from_url, NULL,
1115 baton->callbacks, baton, baton->config, pool));
1117 SVN_ERR(get_init_editor(commit_editor, commit_baton, baton->start_rev,
1118 from_session_prop, baton->default_process,
1119 baton->replace_externals, baton->replace_license,
1129 baton->start_rev, "", svn_depth_infinity, FALSE,
1131 SVN_ERR(reporter->set_path(report_baton, "", baton->start_rev,
1150 init_baton_t baton;
1164 baton.to_url = svn_path_canonicalize(to_url, pool);
1165 baton.from_url = svn_path_canonicalize(from_url, pool);
1166 baton.config = opt_baton->config;
1168 baton.start_rev = opt_baton->start_rev;
1169 baton.default_process = opt_baton->default_process;
1170 baton.replace_externals = opt_baton->replace_externals;
1171 baton.replace_license = opt_baton->replace_license;
1177 baton.callbacks = &callbacks;
1180 SVN_ERR(svn_ra_open3(&to_session, baton.to_url, NULL,
1181 &callbacks, &baton, baton.config, pool));
1184 baton.to_url,
1186 &baton,
1187 baton.config,
1191 SVN_ERR(check_if_session_is_at_repos_root(to_session, baton.to_url, pool));
1193 SVN_ERR(with_locked(to_session, do_initialize, &baton, pool));
1217 /* Edit baton */
1237 /* A dual-purpose baton for files and directories. */
2234 void *baton;
2238 &baton));
2242 &baton));
2244 SVN_ERR(eb->wrapped_editor->close_directory(baton, pool));
2252 /* Set WRAPPED_EDITOR and WRAPPED_EDIT_BATON to an editor/baton pair
2337 void *baton,
2340 sync_baton_t *sb = baton;
2381 void *baton,
2414 SVN_ERR(svn_ra_open3(from_session, from_url->data, NULL, callbacks, baton,
2417 SVN_ERR(svn_ra_open2(from_session, from_url->data, callbacks, baton,
2444 * using information found in baton B, while the repository is
2453 sync_baton_t *baton = b;
2472 to_session, baton->callbacks, baton->config,
2473 baton, pool));
2487 baton->callbacks, baton, baton->config, pool));
2488 SVN_ERR(svn_ra_open3(&to_session_prop, baton->to_url, NULL,
2489 baton->callbacks, baton, baton->config, pool));
2492 baton->callbacks, baton->config, baton, pool));
2646 commit_callback, baton,
2652 commit_callback, baton,
2661 baton->from_rev = current;
2662 baton->committed_rev = SVN_INVALID_REVNUM;
2667 baton->to_url, &sync_editor, &sync_baton,
2671 baton->to_url, &sync_editor, &sync_baton,
2700 if (baton->committed_rev != current)
2704 baton->committed_rev, current);
2708 if (baton->committed_rev != current)
2712 baton->committed_rev, current);
2719 if (SVN_IS_VALID_REVNUM(baton->committed_rev))
2722 baton->committed_rev, TRUE, subpool));
2731 baton->committed_rev),
2786 sync_baton_t baton;
2800 baton.callbacks = &callbacks;
2801 baton.config = opt_baton->config;
2802 baton.to_url = to_url;
2806 baton.callbacks, &baton, baton.config, pool));
2810 baton.callbacks,
2811 &baton,
2812 baton.config,
2818 SVN_ERR(with_locked(to_session, do_synchronize, &baton, pool));
2841 * session TO_SESSION, using information found in baton B, while the
2847 copy_revprops_baton_t *baton = b;
2856 to_session, baton->callbacks, baton->config,
2857 baton, pool));
2864 baton->callbacks, baton->config, baton, pool));
2867 if (baton->rev > SVN_STR_TO_REV(last_merged_rev->data))
2873 SVN_ERR(copy_revprops(from_session, to_session, baton->rev, baton->rev, FALSE, pool));
2875 SVN_ERR(copy_revprops(from_session, to_session, baton->rev, FALSE, pool));
2890 copy_revprops_baton_t baton;
2910 baton.callbacks = &callbacks;
2911 baton.config = opt_baton->config;
2912 baton.to_url = to_url;
2913 baton.rev = revision;
2917 baton.callbacks, &baton, baton.config, pool));
2921 baton.callbacks,
2922 &baton,
2923 baton.config,
2929 SVN_ERR(with_locked(to_session, do_copy_revprops, &baton, pool));
2942 help_cmd(apr_getopt_t *os, void *baton, apr_pool_t *pool)
2944 opt_baton_t *opt_baton = baton;