subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Perkins" <>
Subject [PATCH] Issue #4668: Fixing the node key order during svnadmin dump
Date Mon, 23 Jan 2017 19:31:54 GMT
Fix issue #4668: svnadmin dump node header order has changed

These changes provide a means for the user to output the svnadmin dump using
the node key
order used in svnadmin version 1.8 and earlier.

* subversion/include/svn_repos.h
Added comment regarding the switch usage.
(svn_repos_dump_fs4): Added Boolean parameter to function prototype called
* subversion/svnadmin/svnadmin.c
(svnadmin_cmdline_options_t ): Added svnadmin__pre_1_8_dump to enumerated
(options_table): Added pre_1_8_dump definition to the table.
(cmd_table ): Modified the help usage text to include the pre-1.8-dump
(svnadmin_opt_state ): Added pre_1_8_dump boolean member to structure
(subcommand_dump): Added pre_1_8_dump variable to svn_repos_dump_fs4
function call.
(sub_main): Added case supporting svnadmin__pre_1_8_dump value.
* subversion/libsvn_repos/dump.c
(write_revision_headers, write_revision_headers_v1651614 ): Renamed original
write_revision_headers function to write_revision_headers_v1651614.
(write_revision_headers_svn_4668): Added new function with fixed node key
ordering as prescribed in the prose of Issue 4668.
(write_revision_headers): Modified function to switch between two node key
formatting methods.
(svn_repos__dump_revision_record, write_revision_record,
svn_repos_dump_fs4): Added pre_1_8_dump parameter to define the node key
ordering during svnadmin dump operations.

Patch by: L. Perkins <


Luke Perkins

View raw message