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

Re: "svnadmin verify" dangerously broken

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-08-06 18:34:47 CEST

Branko wrote:
> Another way to fix this without propagating the NULL-stream exception=20
> all the way down to the streams API would be to actually create a=20
> /dev/null-like stream with a no-op writer function, and use that in=20
> "svnadmin verify" instead.

I wrote:
> I like that better; I always thought the NULL exceptions in
> svn_repos_dump were stupid, and NULL exceptions in the svn_stream
> API would be even moreso.

Okay, I have code to make svnadmin dump check file contents (by
removing the NULL stream exceptions and creating an svn_stream_empty()
at the top level if the passed-in streams are NULL). I also have code
to make FSFS check file contents checksums (!), with the one minor nit
that I need to give it a way to describe the rep whose checksum
failed. I'm being called away, but I'll finish up this code and check
it in some time today.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 6 18:35:24 2004

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.