[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

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-07-20 17:03:00 CEST

This patch should resolve Issue #1074. Currently, there is no test for this
patch, since I have to find a way to modify the a file's data without
updating the checksum.

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

* subversion/libsvn_fs/fs.c
  (svn_fs_verify): Added this high level function to verify the data stored in
  the fs.
  (verify_reps): Helper function.
  (verity_reps_handler): Helper function.
  
* subversion/include/svn_fs.h
  (svn_fs_verify): 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__bdb_rep_handler_t): Added this typedef for use with
  svn_fs__bdb_walk_reps.

* 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 Sun Jul 20 17:02:41 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.