Package svndump :: Module diff :: Class SvnDumpDiff
[show private | hide private]
[frames | no frames]

Class SvnDumpDiff


A class for comparing svn dump files.
Method Summary
  __init__(self, filename1, filename2)
Initialize.
  execute(self, callback)
Execute the diff.
  set_check_eol(self, check)
Set or clear the check-eol flag.
  __compare_node(self, node1, node2, callback)
Compare two nodes.
  __compare_nodes(self, dump1, dump2, callback)
Compares the nodes of the current revision of two dump files.
  __compare_properties(self, revprops, props1, props2, callback)
Compare properties.

Method Details

__init__(self, filename1, filename2)
(Constructor)

Initialize.
Parameters:
filename1 - First dump file name.
           (type=string)
filename2 - Second dump file name.
           (type=string)

execute(self, callback)

Execute the diff.
Parameters:
callback - Callback object for diffs found.
           (type=SvnDumpDiffCallback)

set_check_eol(self, check=True)

Set or clear the check-eol flag.
Parameters:
check - True for doing EOL check.
           (type=bool)

__compare_node(self, node1, node2, callback)

Compare two nodes.
Parameters:
node1 - First dump node.
           (type=SvnDumpNode)
node2 - Second dump node.
           (type=SvnDumpNode)
callback - Callback object for diffs found.
           (type=SvnDumpDiffCallback)

__compare_nodes(self, dump1, dump2, callback)

Compares the nodes of the current revision of two dump files.
Parameters:
dump1 - First dump file.
           (type=SvnDumpFile)
dump2 - Second dump file.
           (type=SvnDumpFile)
callback - Callback object for diffs found.
           (type=SvnDumpDiffCallback)

__compare_properties(self, revprops, props1, props2, callback)

Compare properties.
Parameters:
revprops - True when comparing revision properties.
           (type=bool)
props1 - Dict containing the properties of the first dump.
           (type=dict( string -> string ))
props2 - Dict containing the properties of the second dump.
           (type=dict( string -> string ))
callback - Callback object for diffs found.
           (type=SvnDumpDiffCallback)

Generated by Epydoc 2.1 on Mon Jun 16 03:33:11 2008 http://epydoc.sf.net