Re: r1578670 - Fix the order of node record headers written by svndumpfilter
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 14 Apr 2014 11:29:10 +0100 (BST)
Hi Philip,
This commit changes the output format of paths from no leading slash ('relpath' style) to having a leading slash ('fspath' style). This seems to be against the desired path format for a dump file, although the documentation in <notes/dump-load-format.txt> is not explicit.
I noticed this because it crashes 'svnrdump load':
$ svnrdump load file://$PWD/rr < the-dump-filtered
That's probably a bug in itself; 'svnadmin load' accepts them.
The code should probably use the path as it was read from the input stream, so as not to make unnecessary changes to the data. (However, preserving the exact input for this particular header is a drop in the ocean, as svndumpfilter also makes many other other unnecessary changes such as reordering headers and adding redundant headers, and I think it would be better if it did not, but that's another story.)
- Julian
> Author: philip
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.