| Method Summary |
| |
__init__(self)
|
| |
add_node(self,
node)
Add a node to the current revision. |
| |
add_rev(self,
revProps)
Add a new revision to this dump file. |
| |
add_rev_from_dump(self,
dump)
Add the current revision of the specified SvnDumpFile to this one. |
| |
close(self)
Close this svn dump file. |
| |
create_with_rev_0(self,
filename,
uuid,
rev0date)
Create a new dump file starting with revision 0. |
| |
create_with_rev_n(self,
filename,
uuid,
firstRevNr)
Create a new dump file. |
| SvnDumpNode
|
get_node(self,
index)
Returns the node at the given index. |
| integer
|
get_node_count(self)
Returns the count of nodes of the current revision. |
| string
|
get_rev_author(self)
Returns the author of the current revision. |
| list( integer )
|
get_rev_date(self)
Returns the date of the current revision as [ time_t, micros ]. |
| string
|
get_rev_date_str(self)
Returns the date of the current revision as string. |
| string
|
get_rev_log(self)
Returns the log message of the current revision. |
| integer
|
get_rev_nr(self)
Returns the current revision number. |
| list( string )
|
get_rev_prop_names(self)
Returns a list of revision property names of the current revision. |
| string
|
get_rev_prop_value(self,
name)
Returns the value of the revision property with the specified
name. |
| dict( string -> string )
|
get_rev_props(self)
Returns a dict containing the revision properties. |
| string
|
get_uuid(self)
Returns the UUID of this dump file. |
| bool
|
has_rev_prop(self,
name)
Returns true if the revision has a property with the specified
name. |
| bool
|
has_revision(self)
Returns false when EOF occured. |
| |
open(self,
filename)
Open a dump file for reading and read the header. |
| |
read_next_rev(self)
Read the next revision. |
| string
|
__create_prop_string(self,
properties)
Create a string from a dict containing properties. |
| dict( string -> string )
|
__get_prop_list(self)
Get a list of properties. |
| list( string )
|
__get_tag(self,
raiseEof)
Read a Tag line (name: value). |
| dict( string -> string )
|
__get_tag_list(self)
Get a list of tags, end is an empty line. |
| string
|
__read_bin(self,
length)
Read some bytes. |
| integer, string
|
__read_line(self,
raiseEof)
Read one line from teh dump file. |
| string
|
__set_rev_date(self,
dateStr)
Check a date string, set and return a valid one. |
| |
__skip_bin(self,
length)
Skip some bytes. |
| |
__skip_empty_line(self)
Read one line from the dump file and check that it is empty. |