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

Re: [PATCH] Issue #1074: Need a svnadmin command to verify that the repository is not corrupted (Take 2)

From: <cmpilato_at_collab.net>
Date: 2003-08-06 06:48:30 CEST

John Szakmeister <john@szakmeister.net> writes:

> Perhaps the best thing to do is recommend that people run 'svnadmin dump'
> every once in a while to make sure nothing has been corrupted.

Ooh! Here's a thought. What if we added a --dry-run option to
'svnadmin dump'? That way at least folks don't pay the cost of the
output I/O. Basically, this option would cause the "stream" passed to
svn_repos_dump to be NULL, and we'd just check for non-NULL before
each call to svn_stream_printf() and svn_stream_write() in
libsvn_repos/dump.c. Note that we'd still do the *read* of the
file/directory data, so we get the checksum verification. Also, we
still pass a valid "feedback_stream" to the function, so we can see
progress and warnings.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 6 06:50:37 2003

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.