/[Apache-SVN]
ViewVC logotype

Revision 1594860


Jump to revision: Previous Next
Author: stefan2
Date: Thu May 15 10:48:37 2014 UTC (9 years, 11 months ago)
Changed paths: 9
Log Message:
Introduce FSFS expert tool 'svnfsfs'.  It is intended to grow various
FSFS-specific commands in the future - like recreating repcache.db etc.

For now, it provides two commands to read (dump) and write (load)
format 7 index information.  With these, corrupted repositories can
be manipulated / fixed by hand or script.

The former fsfs-stats tool becomes a sub-command as well.

* build.conf
  (svnfsfs): Define new target for the new tool.
  (__ALL__): Add new tool as dependency.
  (__MORE__): Remove fsfs-stats dependency.
  (fsfs-stats): Drop superseded target.

* subversion/include/svn_error_codes.h
  (SVN_ERR_FS_UNSUPPORTED_TYPE,
   SVN_ERR_INVALID_INPUT): Declare new error types to be used by the
                           new tool.

* tools/server-side/fsfs-stats.c
  (): Removed, non-boilerplate sources moved to ./svnfsfs/stats-cmd.c

* tools/server-side/svnfsfs
  (): New directory for the new tool; ignore new binary.

* tools/server-side/svnfsfs/svnfsfs.h
  (): New file containing the tool globals.

* tools/server-side/svnfsfs/svnfsfs.c
  (): Boilerplate command line interface, command and parameter definition.

* tools/server-side/svnfsfs/dump-index-cmd.c
  (): New 'dump-index' sub-command implementation.

* tools/server-side/svnfsfs/load-index-cmd.c
  (): New 'load-index' sub-command implementation.

* tools/server-side/svnfsfs/stats-cmd.c
  (): New 'stats' sub-command implementation.  Code taken from former
      stand-alone tool. 


Changed paths

Path Details
Directorysubversion/trunk/build.conf modified , text changed
Directorysubversion/trunk/subversion/include/svn_error_codes.h modified , text changed
Directorysubversion/trunk/tools/server-side/fsfs-stats.c deleted
Directorysubversion/trunk/tools/server-side/svnfsfs/ added
Directorysubversion/trunk/tools/server-side/svnfsfs/dump-index-cmd.c added
Directorysubversion/trunk/tools/server-side/svnfsfs/load-index-cmd.c added
Directorysubversion/trunk/tools/server-side/svnfsfs/stats-cmd.c added
Directorysubversion/trunk/tools/server-side/svnfsfs/svnfsfs.c added
Directorysubversion/trunk/tools/server-side/svnfsfs/svnfsfs.h added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26