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

Re: svn dump format

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 18 Nov 2014 10:40:47 +0000

Andreas Stieger <andreas.stieger_at_gmx.de> writes:

>> On 18 Nov 2014, at 09:50, Baruch Burstein <bmburstein_at_gmail.com> wrote:
>>
>> Are the node records in a single revision in a svn dump file
>> guaranteed/required to be in a sorted lexicographical order?
>
> Not guaranteed or required. The most informative results on this come
> up with the "apr hash order" keywords in mailing list and CHANGES.
>
>> If not, is that at least the case when using the official dump tools
>> (svnadmin/svnrdump)?
>
> Well there is only official source, and it depends on the apr hash
> order. I believe that current releases do sort to circumvent the hash
> order unpredictability. Dumps and revision files.

The hash ordering of nodes in dump files was considered a bug:

http://subversion.tigris.org/issues/show_bug.cgi?id=4134

and is fixed in recent versions.

As far as I can see we do not document the order in:

http://svn.apache.org/repos/asf/subversion/trunk/notes/dump-load-format.txt

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-11-18 11:42:08 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.