This module manages interaction with version control systems.
To implement support for a new version control system, inherit the
class GenericRevisionControlSystem.
|
|
|
run_command(command,
cwd=None)
Runs a command (array of program name and arguments) and returns the
exitcode, the output and the error as a tuple. |
source code
|
|
|
__shellescape(path)
Shell-escape any non-alphanumeric characters. |
source code
|
|
|
get_versioned_objects_recursive(location,
versioning_systems=None,
follow_symlinks=True)
return a list of objects, each pointing to a file below this
directory |
source code
|
|
|
get_versioned_object(location,
versioning_systems=None,
follow_symlinks=True)
return a versioned object for the given file |
source code
|
|
|
get_available_version_control_systems()
return the class objects of all locally available version control
systems |
source code
|
|
|
|
|
|
|
commitfile(filename,
message=None,
author=None) |
source code
|
|
|
|
|
|
|
|