341
338
SVN_ERR(svn_wc__db_temp_borrow_sdb(&sdb, bt.wc_ctx->db, bt.root_abspath,
344
SVN_ERR(svn_sqlite__with_lock(sdb, tree_dump_txn, &bt, scratch_pool));
342
svn_wc__internal_walk_children(db, bt.root_abspath, FALSE,
343
NULL, tree_dump_dir, &bt,
345
NULL, NULL, scratch_pool),
346
348
/* And close everything we've opened */
347
349
SVN_ERR(svn_wc_context_destroy(bt.wc_ctx));