Package svndump :: Module tools :: Class SvnDumpCheck
[show private | hide private]
[frames | no frames]

Class SvnDumpCheck


A class for checking svn dump files.
Method Summary
  __init__(self)
Initialize.
  execute(self, dumpfilename)
Check a dump file.
  set_check_actions(self, docheck)
Set the check actions flag to the given value.
  set_check_dates(self, docheck)
Set the check dates flag to the given value.
  set_check_md5(self, docheck)
Set the check md5 sums flag to the given value.
  set_verbose(self, doverbose)
Set for verbose output mode
  __next_node(self)
Clears the node_printed flag.
  __next_rev(self)
Clears the rev_printed flag.
  __print_action(self, node)
Prints the node action if not already done.
  __print_node(self, revnr, node)
Prints the revision number and node path if not already done.
  __print_node_errors(self, dump, node)
Prints all node errors for the current dump node
  __print_rev(self, revnr)
Prints the revision number if not already done.
  __print_rev_errors(self, dump)
Prints all revision errors for the current dump revision

Method Details

__init__(self)
(Constructor)

Initialize.

execute(self, dumpfilename)

Check a dump file.
Parameters:
dumpfilename - Name of the file to check.
           (type=string)

set_check_actions(self, docheck)

Set the check actions flag to the given value.
Parameters:
docheck - New value for the flag.
           (type=bool)

set_check_dates(self, docheck)

Set the check dates flag to the given value.
Parameters:
docheck - New value for the flag.
           (type=bool)

set_check_md5(self, docheck)

Set the check md5 sums flag to the given value.
Parameters:
docheck - New value for the flag.
           (type=bool)

set_verbose(self, doverbose)

Set for verbose output mode

__next_node(self)

Clears the node_printed flag.

__next_rev(self)

Clears the rev_printed flag.

__print_action(self, node)

Prints the node action if not already done.
Parameters:
node - Current node.
           (type=SvnDumpNode)

__print_node(self, revnr, node)

Prints the revision number and node path if not already done.
Parameters:
revnr - Current revision number.
           (type=int)
node - Current node.
           (type=SvnDumpNode)

__print_node_errors(self, dump, node)

Prints all node errors for the current dump node
Parameters:
dump - Current dump file.
           (type=SvnDumpFile)

__print_rev(self, revnr)

Prints the revision number if not already done.
Parameters:
revnr - Current revision number.
           (type=int)

__print_rev_errors(self, dump)

Prints all revision errors for the current dump revision
Parameters:
dump - Current dump file.
           (type=SvnDumpFile)

Generated by Epydoc 2.1 on Fri Aug 14 23:53:11 2009 http://epydoc.sf.net