Lines Matching defs:eb

90 okay_to_edit(struct edit_baton *eb,
116 effective_depth = pb->dir_depth - (eb->has_target ? 1 : 0);
117 switch (eb->requested_depth)
144 struct edit_baton *eb = edit_baton;
147 return eb->wrapped_editor->set_target_revision(eb->wrapped_edit_baton,
157 struct edit_baton *eb = edit_baton;
162 SVN_ERR(eb->wrapped_editor->open_root(eb->wrapped_edit_baton, base_revision,
176 struct edit_baton *eb = pb->edit_baton;
186 if (okay_to_edit(eb, pb, svn_node_file))
187 SVN_ERR(eb->wrapped_editor->delete_entry(path, base_revision,
202 struct edit_baton *eb = pb->edit_baton;
206 if (okay_to_edit(eb, pb, svn_node_dir))
208 b = make_node_baton(eb, FALSE, pb->dir_depth + 1, pool);
209 SVN_ERR(eb->wrapped_editor->add_directory(path, pb->wrapped_baton,
216 b = make_node_baton(eb, TRUE, pb->dir_depth + 1, pool);
231 struct edit_baton *eb = pb->edit_baton;
235 if (okay_to_edit(eb, pb, svn_node_dir))
237 b = make_node_baton(eb, FALSE, pb->dir_depth + 1, pool);
238 SVN_ERR(eb->wrapped_editor->open_directory(path, pb->wrapped_baton,
244 b = make_node_baton(eb, TRUE, pb->dir_depth + 1, pool);
260 struct edit_baton *eb = pb->edit_baton;
264 if (okay_to_edit(eb, pb, svn_node_file))
266 b = make_node_baton(eb, FALSE, pb->dir_depth, pool);
267 SVN_ERR(eb->wrapped_editor->add_file(path, pb->wrapped_baton,
273 b = make_node_baton(eb, TRUE, pb->dir_depth, pool);
288 struct edit_baton *eb = pb->edit_baton;
292 if (okay_to_edit(eb, pb, svn_node_file))
294 b = make_node_baton(eb, FALSE, pb->dir_depth, pool);
295 SVN_ERR(eb->wrapped_editor->open_file(path, pb->wrapped_baton,
301 b = make_node_baton(eb, TRUE, pb->dir_depth, pool);
316 struct edit_baton *eb = fb->edit_baton;
326 SVN_ERR(eb->wrapped_editor->apply_textdelta(fb->wrapped_baton,
339 struct edit_baton *eb = fb->edit_baton;
343 SVN_ERR(eb->wrapped_editor->close_file(fb->wrapped_baton,
355 struct edit_baton *eb = pb->edit_baton;
359 SVN_ERR(eb->wrapped_editor->absent_file(path, pb->wrapped_baton, pool));
369 struct edit_baton *eb = db->edit_baton;
373 SVN_ERR(eb->wrapped_editor->close_directory(db->wrapped_baton, pool));
384 struct edit_baton *eb = pb->edit_baton;
388 SVN_ERR(eb->wrapped_editor->absent_directory(path, pb->wrapped_baton,
401 struct edit_baton *eb = fb->edit_baton;
405 SVN_ERR(eb->wrapped_editor->change_file_prop(fb->wrapped_baton,
418 struct edit_baton *eb = db->edit_baton;
422 SVN_ERR(eb->wrapped_editor->change_dir_prop(db->wrapped_baton,
432 struct edit_baton *eb = edit_baton;
433 return eb->wrapped_editor->close_edit(eb->wrapped_edit_baton, pool);
446 struct edit_baton *eb;
477 eb = apr_palloc(pool, sizeof(*eb));
478 eb->wrapped_editor = wrapped_editor;
479 eb->wrapped_edit_baton = wrapped_edit_baton;
480 eb->has_target = has_target;
481 eb->requested_depth = requested_depth;
484 *edit_baton = eb;