Package svndump :: Module eolfix
[show private | hide private]
[frames | no frames]

Module svndump.eolfix

Classes and functions for fixing EOL's in a dump file.
Classes
SvnDumpEolFix A class for fixing mixed EOL style files in a svn dump file.

Function Summary
  eolfix_callback_prop(dumpfile, node, textfiles)
Callback function which checks for svn:eol-style property.
  eolfix_callback_regexp(dumpfile, node, expressions)
Callback function which checks the node path using a regexp list.
integer svndump_eol_fix_cmdline(appname, args)
Parses the commandline and executes the eolfix.

Function Details

eolfix_callback_prop(dumpfile, node, textfiles)

Callback function which checks for svn:eol-style property.

Returns True if a conversion of the text is needed.

WARNING: This function is not tested!

eolfix_callback_regexp(dumpfile, node, expressions)

Callback function which checks the node path using a regexp list.

Returns True if a conversion of the text is needed.

svndump_eol_fix_cmdline(appname, args)

Parses the commandline and executes the eolfix.

Usage:
>>> svndump_eol_fix_cmdline( sys.argv[0], sys.argv[1:] )
Parameters:
appname - Name of the application (used in help text).
           (type=string)
args - Commandline arguments.
           (type=list( string ))
Returns:
Return code (0 = OK).
           (type=integer)

Generated by Epydoc 2.1 on Wed Apr 11 04:41:33 2007 http://epydoc.sf.net