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

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

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-07-24 01:38:26 CEST

Here is take 2 on this patch. I re-worked a couple of things. I removed the
typedef for the function prototype and changed it to match retry_txn's style
of decleration, and fixed some of the formatting problems I had before (I
hopefully got them all this time :-).

-John

--------------------------------
Resolves Issue #1074 (Need a svnadmin command to verify that the repository
is not corrupted).

* subversion/libsvn_fs/fs.c
  (svn_fs_verify_contents): Added this high level function to verify the data
  stored in the fs.
  (txn_body_verify_reps): Helper function.
  (verity_reps_handler): Helper function.

* subversion/include/svn_fs.h
  (svn_fs_verify_contents): Added function prototype.

* subversion/libsvn_fs/bdb/reps-table.c
  (svn_fs__bdb_walk_reps): Added this utility function to walk the
  representation table calling a callback function for each row.

* subversion/libsvn_fs/bdb/reps-table.h
  (svn_fs__bdb_walk_reps): Added function prototype.
  (svn_fs__rep_contents_read_stream): Modified docstring to reflect the
  function's responsibility to verify the checksum.

* subversion/svnadmin/main.c
  (subcommand_verify): Added new function to verify the data stored in the
  repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Jul 24 01:38:04 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.