Details
-
Task
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
"svnadmin load" and "svnrdump load" should share more of the dumpstream loader code.
"svnadmin load" uses svn_repos_get_fs_build_parser6(), whose input is the dumpstream parser API, and whose output makes commits directly to a given repository.
The dumpstream loader in 'svnrdump' contains an editor driver, whose input is the dumpstream parser API, and whose output makes commits through a delta-editor over the RA layer.
Of course we already have
Factor out the generic parts of svn_rdump__load_dumpstream() for re-use:
- dumpstream parser API to generic delta-editor API
Use callbacks or separate layers for all caller-specific processing.
Re-implement svn_repos_get_fs_build_parser6() as:
- dumpstream parser API to generic delta-editor API (new, shared) +
- generic commit code (svn_repos_get_commit_editor5) (already available)
Attachments
Issue Links
- relates to
-
SVN-4745 Shelving: diff & WC APIs
- Closed