pub unsafe extern "C" fn svn_fs_refresh_revision_props(
fs: *mut svn_fs_t,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Make sure that all completed revision property changes to the filesystem underlying @a fs are actually visible through @a fs. Use @a scratch_pool for temporary allocations.
This is an explicit synchronization barrier for revprop changes made through different #svn_fs_t for the same underlying filesystem. Any revprop change through @a fs acts as an implicit barrier, i.e. that object will see all completed revprop changes up to an including its own. Only #svn_fs_revision_prop2 and #svn_fs_revision_proplist2 have an option to not synchronize with on-disk data and potentially return outdated data as old as the last barrier.
The intended use of this is implementing efficient queries in upper layers where the result only needs to include all changes up to the start of that query but does not need to pick up on changes while the query is running:
@code SVN_ERR(svn_fs_deltify_revision(fs, pool); for (i = 0; i < n; i++) SVN_ERR(svn_fs_revision_prop2(&authors[i], fs, revs[i], “svn:author”, FALSE, pool, pool)); @endcode
@see svn_fs_revision_prop2, svn_fs_revision_proplist2
@since New in 1.10.