[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Testing equality between svnrdump and svnadmin dump

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 15 Jan 2015 11:28:57 +0000

I corrected the dump-load format documentation in r1652064, with wording similar to the patch I had given here. I confirmed by code inspection that svndumpfilter had behaved this way since Subversion 1.0.

- Julian

I (Julian Foad) wrote on 2015-01-13:
> 1. When a revision has no revprops, svnadmin outputs an empty properties
> section, while svndumpfilter omits the properties section (but adds an extra
> newline after where it would have been).
>
> svnadmin dump:
> [[[
>
> Revision-number: 1
> Prop-content-length: 10
> Content-length: 10
>
> PROPS-END
>
> ]]]
>
> svndumpfilter:
> [[[
>
> Revision-number: 1
> Content-length: 0
>
>
> ]]]
>
> The document 'notes/dump-load-format.txt' presently says the properties
> section should always be present. I think we have to change that to say it's
> optional, as released versions of svndumpfilter behave in this way (at least
> v1.7 and v1.8).
>
> The attached patch 'dump-load-format-no-revprops-1.patch' corrects that
> documentation.
Received on 2015-01-15 12:29:50 CET

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.