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

Re: svn commit: r34352 - in trunk/subversion: include libsvn_repos tests/cmdline/svnsync_tests_data

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Mon, 24 Nov 2008 06:52:33 -0600

David Glasser wrote:
> Don't forget notes/dump-load-format.txt.

r34379.

> On Sat, Nov 22, 2008 at 8:08 PM, <hwright_at_tigris.org> wrote:
>> Author: hwright
>> Date: Sat Nov 22 20:08:04 2008
>> New Revision: 34352
>>
>> Log:
>> When creating a dump file, include the sha1 checksum as well as the md5.
>>
>> We don't actually parse or use the sha1 at this point, thought we could. The
>> md5 is used at the repos layer to check corruption, and later passed to the fs
>> layer for the same reason. If we ever switch the entire system over to sha1,
>> this patch will mean that 1.6-era dumpfiles will have sha1 data usable by
>> future versions of Subversion.
>>
>> * subversion/include/svn_repos.h
>> (SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_MD5,
>> SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_SHA1,
>> SVN_REPOS_DUMPFILE_TEXT_CONTENT_MD5,
>> SVN_REPOS_DUMPFILE_TEXT_CONTENT_SHA1,
>> SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5
>> SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_SHA1): New.
>> (SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_CHECKSUM,
>> SVN_REPOS_DUMPFILE_TEXT_CONTENT_CHECKSUM,
>> SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_CHECKSUM): Use the md5 define.
>>
>> * subversion/libsvn_repos/dump.c
>> (dump_node): Include the sha1 in the dumpfile.
>>
>> [ in subversion/tests/cmdline/svnsync_tests_data/ ]
>> Fix up assorted dump files to include the now-expected sha1 field.
...

Received on 2008-11-24 13:52:53 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.