You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Baruch Burstein <bm...@gmail.com> on 2014/11/18 10:50:57 UTC
svn dump format
Hi all,
Are the node records in a single revision in a svn dump file
guaranteed/required to be in a sorted lexicographical order? If not, is
that at least the case when using the official dump tools
(svnadmin/svnrdump)?
Please CC me on replys
Thanks,
Baruch
--
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
Re: svn dump format
Posted by Philip Martin <ph...@wandisco.com>.
Andreas Stieger <an...@gmx.de> writes:
>> On 18 Nov 2014, at 09:50, Baruch Burstein <bm...@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*
Re: svn dump format
Posted by Andreas Stieger <an...@gmx.de>.
Hello,
> On 18 Nov 2014, at 09:50, Baruch Burstein <bm...@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.
Andreas