[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: <kfogel_at_collab.net>
Date: 2003-08-06 17:09:19 CEST

cmpilato@collab.net writes:
> 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.

Cool implementation!

But if the purpose of the command is to check integrity, then let's
have its name reflect that. It may be 'dump --dry-run' under the
hood, but 'svnadmin verify' or something is a more accurate name for
what it does.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 6 17:49: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.