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

Re: rep-cache sanity checks Re: Script to obliterate the most recent revision(s)

From: Philip Martin <philip_at_codematters.co.uk>
Date: Mon, 26 Mar 2018 12:44:09 +0100

Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:

> While we're at it, do we check, before using a rep-cache reference, that the
> revision:offset coordinates we obtained do in fact refer to a representation?

The SHA1 collision detection code means Subversion now does very exact
verification of rep-cache references. Subversion verifies that the
fulltext obtained by expanding the rep-cache reference matches the
expected fulltext. This code should also verify the checksum as a side
effect of the fulltest verification but issue 4722 in 1.9.7 means that
while the fulltext is verified the checksum verification is usually
skipped.

-- 
Philip
Received on 2018-03-26 14:48:38 CEST

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.