summaryrefslogtreecommitdiff
path: root/subversion/include/private/svn_fs_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/include/private/svn_fs_private.h')
-rw-r--r--subversion/include/private/svn_fs_private.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/subversion/include/private/svn_fs_private.h b/subversion/include/private/svn_fs_private.h
index 5bd89c0280c02..4bd0a5052731a 100644
--- a/subversion/include/private/svn_fs_private.h
+++ b/subversion/include/private/svn_fs_private.h
@@ -183,7 +183,7 @@ svn_fs__editor_commit(svn_revnum_t *revision,
*
* If there is no mergeinfo, set @a *mergeinfo to NULL.
*
- * See svn_fs_get_mergeinfo2() but for the meanings of @a inherit and
+ * See svn_fs_get_mergeinfo3() but for the meanings of @a inherit and
* @a adjust_inheritable_mergeinfo and other details.
*/
svn_error_t *
@@ -195,6 +195,22 @@ svn_fs__get_mergeinfo_for_path(svn_mergeinfo_t *mergeinfo,
apr_pool_t *result_pool,
apr_pool_t *scratch_pool);
+/** Determine the previous location of @a path under @a root and return it
+ * as @a *node_path under @a *node_root. This may be called for arbitrary
+ * nodes but is intended for nodes that got deleted in @a root, i.e. when
+ * standard navigation fails. It also works if @a root is transaction root.
+ *
+ * Allocate @a *node_path and @a *node_root in @a result_pool while using
+ * @a scratch_pool for temporaries.
+ */
+svn_error_t *
+svn_fs__get_deleted_node(svn_fs_root_t **node_root,
+ const char **node_path,
+ svn_fs_root_t *root,
+ const char *path,
+ apr_pool_t *result_pool,
+ apr_pool_t *scratch_pool);
+
/** @} */