Lines Matching defs:eb

111 ensure_state(struct diff_baton *eb,
118 if (!eb->cur)
122 relpath = svn_dirent_skip_ancestor(eb->anchor_abspath, local_abspath);
130 SVN_ERR(ensure_state(eb,
135 else if (svn_dirent_is_child(eb->cur->local_abspath, local_abspath, NULL))
136 SVN_ERR(ensure_state(eb, svn_dirent_dirname(local_abspath,scratch_pool),
142 if (eb->cur && eb->cur->skip_children)
145 ns_pool = svn_pool_create(eb->cur ? eb->cur->pool : eb->pool);
150 ns->relpath = svn_dirent_skip_ancestor(eb->anchor_abspath, ns->local_abspath);
151 ns->parent = eb->cur;
152 eb->cur = ns;
168 eb->db, local_abspath,
182 SVN_ERR(eb->processor->dir_opened(&ns->baton, &ns->skip,
189 eb->processor,
203 struct diff_baton *eb = baton;
204 svn_wc__db_t *db = eb->db;
222 while (eb->cur
223 && !svn_dirent_is_ancestor(eb->cur->local_abspath, local_abspath))
225 struct node_state_t *ns = eb->cur;
230 SVN_ERR(eb->processor->dir_changed(ns->relpath,
237 eb->processor,
240 SVN_ERR(eb->processor->dir_closed(ns->relpath,
244 eb->processor,
247 eb->cur = ns->parent;
250 SVN_ERR(ensure_state(eb, svn_dirent_dirname(local_abspath, scratch_pool),
253 if (eb->cur && eb->cur->skip_children)
256 if (eb->changelist_hash != NULL
258 || ! svn_hash_gets(eb->changelist_hash, status->changelist)))
276 const char *child_relpath = svn_dirent_skip_ancestor(eb->anchor_abspath,
290 eb->db, local_abspath,
309 eb->db, local_abspath,
324 eb->db, local_abspath,
329 else if (base_kind != db_kind || !eb->ignore_ancestry)
343 eb->processor,
344 eb->cur ? eb->cur->baton : NULL,
351 eb->processor,
352 eb->cur ? eb->cur->baton : NULL,
353 eb->cancel_func,
354 eb->cancel_baton,
365 eb->changelist_hash,
366 eb->processor,
367 eb->cur
368 ? eb->cur->baton
371 eb->cancel_func,
372 eb->cancel_baton,
377 SVN_ERR(ensure_state(eb, local_abspath, FALSE, scratch_pool));
383 SVN_ERR(svn_wc__db_base_get_props(&eb->cur->left_props,
384 eb->db, local_abspath,
385 eb->cur->pool,
387 SVN_ERR(svn_wc__db_read_props(&eb->cur->right_props,
388 eb->db, local_abspath,
389 eb->cur->pool,
393 eb->cur->right_props,
394 eb->cur->left_props,
395 eb->cur->pool));
397 eb->cur->propchanges = propchanges;
407 eb->processor,
408 eb->cur ? eb->cur->baton : NULL,
409 eb->changelist_hash,
411 eb->cancel_func,
412 eb->cancel_baton,
417 eb->processor,
418 eb->cur ? eb->cur->baton : NULL,
419 eb->changelist_hash,
421 eb->cancel_func,
422 eb->cancel_baton,
427 SVN_ERR(ensure_state(eb, local_abspath, TRUE /* skip */, scratch_pool));
449 struct diff_baton eb = { 0 };
462 eb.anchor_abspath = local_abspath;
464 eb.anchor_abspath = svn_dirent_dirname(local_abspath, scratch_pool);
486 eb.db = wc_ctx->db;
487 eb.processor = processor;
488 eb.ignore_ancestry = ignore_ancestry;
489 eb.show_copies_as_adds = show_copies_as_adds;
490 eb.pool = scratch_pool;
493 SVN_ERR(svn_hash_from_cstring_keys(&eb.changelist_hash, changelist_filter,
507 diff_status_callback, &eb,
512 while (eb.cur)
514 struct node_state_t *ns = eb.cur;
536 eb.cur = ns->parent;