You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Daniel Shahaf (Jira)" <ji...@apache.org> on 2020/04/01 23:53:00 UTC

[jira] [Created] (SVN-4853) Create an abstract intra-revision DAG tree walker

Daniel Shahaf created SVN-4853:
----------------------------------

             Summary: Create an abstract intra-revision DAG tree walker
                 Key: SVN-4853
                 URL: https://issues.apache.org/jira/browse/SVN-4853
             Project: Subversion
          Issue Type: Task
          Components: libsvn_fs_util, libsvn_fs_fs
    Affects Versions: 1.14.0
            Reporter: Daniel Shahaf


Both {{svnadmin verify}} and the newly-added {{svnadmin build-repcache}} have functionality that takes a revision root and recursively does something to all nodes under that root that are in the same revision as the root.  That logic is in tree.c:verify_node() and fs_fs.c:reindex_node().

Abstract this pattern into a generic walker with a callback function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)