Re: SHA-1 collision in repository?
From: Philip Martin <philip_at_codematters.co.uk>
Date: Fri, 23 Feb 2018 22:50:30 +0000
Stefan Sperling <stsp_at_elego.de> writes:
> On Fri, Feb 23, 2018 at 01:06:36PM -0800, Myria wrote:
Yes, sorry, I misinterpreted the error message.
svn: E160000: SHA1 of reps '604440 34 134255 136680 c9f4fabc4d093612fece03c339401058 db11617ef1454332336e00abc311d44bc698f3b3 605556-czmh/_8' and '-1 0 134255 136680 c9f4fabc4d093612fece03c339401058 db11617ef1454332336e00abc311d44bc698f3b3 605556-czmh/_8' matches (db11617ef1454332336e00abc311d44bc698f3b3) but contents differ
The commit is attempting to create r605556 by reusing data from r604440
>> Something I did notice is that the commit I'm trying to do is a
In that case there is probably no SHA1 collision.
>> If I commit a dummy version of the file, then commit the version I
The SHA1 reuse doesn't rely on the history of the file, it is a global
The only way I can explain the dummy commit is if the real file being
I think this might be the case since you mentioned earlier that you
One way to check repository format checksums is to use "svn info" on
That does require server access.
Since you refer to the r604440 content does that mean you can
-- PhilipReceived on 2018-02-23 23:50:43 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.