subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Butler <sbut...@elego.de>
Subject Re: missing sha-1 after svndumptool
Date Fri, 15 Jun 2012 12:12:43 GMT

On Jun 15, 2012, at 12:18 , Stephen Butler wrote:

> 
> On Jun 15, 2012, at 9:18 , russellh wrote:
> 
>> Hi all,
>> 
>> We have used svndumptool to change all the externals in our Subversion repositories
during a migration due to a change from http to https on our system.
>> 
>> We noticed that the new file created by svndumptool is missing all the sha-1 lines
(md5s still in there) that were in the old file however everything seems to work OK on testing.
>> 
>> Is this an issue or is this something we can ignore?
>> 
>> Cheers,
>> 
>> Russell
> 
> Subversion's 'svnadmin load' command checks file content against MD5 
> checksums.  For backward compatibility, neither MD5 nor SHA1 is required.
> 
> The 'svnadmin dump' command will write SHA1 checksums, but 'svnadmin 
> load' ignores them when parsing a dump file.  For historical reasons, 
> svndumpfilter reuses the svnadmin dump-parsing code, so it drops SHA1s
> too.

Whoops, the preceding sentence is incorrect:  svndumpfilter actually preserves 
SHA1 data.

Steve

> 
> Note that svndumptool is an independent project.  I see in their TODO.txt
> "Add support for sha1?".  They're probably waiting for Subversion to start
> using the SHA1s.
> 
> So there's no short-term issue for you to worry about, but I suppose it's about
> time we (Subversion) stopped dropping SHA1s when parsing dump files.  As 
> it happens, I'm changing the dump parsing code right now, so I'll add that to
> my list.
> 
> Steve
> 
> --
> Stephen Butler
> elego Software Solutions GmbH
> http://www.elego.de
> 

--
Stephen Butler
Consultant

elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Building 12
13355 Berlin, Germany

tel: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elego.de

Geschäftsführer: Olaf Wagner, Michael Diers
Sitz der Gesellschaft: Berlin
Handelsregister: Amtsgericht Charlottenburg HRB 77719




Mime
View raw message