Lines Matching refs:root

54      be allocated within a subpool of this. The root will be closed in
60 /* This is the root from the txn. Use get_root() to fetch/create this
62 svn_fs_root_t *root;
68 get_root(svn_fs_root_t **root,
71 if (eb->root == NULL)
72 SVN_ERR(svn_fs_txn_root(&eb->root, eb->txn, eb->txn_pool));
73 *root = eb->root;
80 add_new_props(svn_fs_root_t *root,
100 SVN_ERR(svn_fs_change_node_prop(root, fspath, name, value, iterpool));
109 alter_props(svn_fs_root_t *root,
119 SVN_ERR(svn_fs_node_proplist(&old_props, root, fspath, scratch_pool));
130 SVN_ERR(svn_fs_change_node_prop(root, fspath, prop->name, prop->value,
140 set_text(svn_fs_root_t *root,
153 SVN_ERR(svn_fs_apply_text(&fs_contents, root, fspath,
297 strlen(cur_fspath) > 1; /* not the root */
333 svn_fs_root_t *root;
338 SVN_ERR(get_root(&root, eb));
342 SVN_ERR(can_modify(root, fspath, replaces_rev, scratch_pool));
343 SVN_ERR(svn_fs_delete(root, fspath, scratch_pool));
347 SVN_ERR(can_create(root, fspath, scratch_pool));
350 SVN_ERR(svn_fs_make_dir(root, fspath, scratch_pool));
351 SVN_ERR(add_new_props(root, fspath, props, scratch_pool));
369 svn_fs_root_t *root;
371 SVN_ERR(get_root(&root, eb));
375 SVN_ERR(can_modify(root, fspath, replaces_rev, scratch_pool));
376 SVN_ERR(svn_fs_delete(root, fspath, scratch_pool));
380 SVN_ERR(can_create(root, fspath, scratch_pool));
383 SVN_ERR(svn_fs_make_file(root, fspath, scratch_pool));
385 SVN_ERR(set_text(root, fspath, checksum, contents,
387 SVN_ERR(add_new_props(root, fspath, props, scratch_pool));
404 svn_fs_root_t *root;
406 SVN_ERR(get_root(&root, eb));
410 SVN_ERR(can_modify(root, fspath, replaces_rev, scratch_pool));
411 SVN_ERR(svn_fs_delete(root, fspath, scratch_pool));
415 SVN_ERR(can_create(root, fspath, scratch_pool));
421 SVN_ERR(svn_fs_make_file(root, fspath, scratch_pool));
422 SVN_ERR(svn_fs_apply_text(&fs_contents, root, fspath,
429 SVN_ERR(add_new_props(root, fspath, props, scratch_pool));
464 svn_fs_root_t *root;
469 SVN_ERR(get_root(&root, eb));
470 SVN_ERR(can_modify(root, fspath, revision, scratch_pool));
473 SVN_ERR(alter_props(root, fspath, props, scratch_pool));
491 svn_fs_root_t *root;
493 SVN_ERR(get_root(&root, eb));
494 SVN_ERR(can_modify(root, fspath, revision, scratch_pool));
499 SVN_ERR(set_text(root, fspath, checksum, contents,
505 SVN_ERR(alter_props(root, fspath, props, scratch_pool));
537 svn_fs_root_t *root;
539 SVN_ERR(get_root(&root, eb));
540 SVN_ERR(can_modify(root, fspath, revision, scratch_pool));
542 SVN_ERR(svn_fs_delete(root, fspath, scratch_pool));
560 svn_fs_root_t *root;
563 SVN_ERR(get_root(&root, eb));
568 SVN_ERR(can_modify(root, dst_fspath, replaces_rev, scratch_pool));
569 SVN_ERR(svn_fs_delete(root, dst_fspath, scratch_pool));
573 SVN_ERR(can_create(root, dst_fspath, scratch_pool));
576 SVN_ERR(svn_fs_revision_root(&src_root, svn_fs_root_fs(root), src_revision,
578 SVN_ERR(svn_fs_copy(src_root, src_fspath, root, dst_fspath, scratch_pool));
597 svn_fs_root_t *root;
600 SVN_ERR(get_root(&root, eb));
604 SVN_ERR(can_modify(root, src_fspath, src_revision, scratch_pool));
607 SVN_ERR(can_modify(root, dst_fspath, replaces_rev, scratch_pool));
608 SVN_ERR(svn_fs_delete(root, dst_fspath, scratch_pool));
612 SVN_ERR(can_create(root, dst_fspath, scratch_pool));
618 SVN_ERR(svn_fs_revision_root(&src_root, svn_fs_root_fs(root), src_revision,
620 SVN_ERR(svn_fs_copy(src_root, src_fspath, root, dst_fspath, scratch_pool));
623 /* Notice: we're deleting the src repos path from the dst root. */
624 SVN_ERR(svn_fs_delete(root, src_fspath, scratch_pool));
642 if (eb->root != NULL)
644 svn_fs_close_root(eb->root);
645 eb->root = NULL;
663 if (eb->root != NULL)
665 svn_fs_close_root(eb->root);
666 eb->root = NULL;
777 /* Clean up internal resources (eg. eb->root). This also allows the