l.c.c.t.s.CVSServer(Server) : class documentation

Part of lp.codehosting.codeimport.tests.servers View In Hierarchy

A CVS server for testing.
Method __init__ Construct a CVSServer.
Method createRepository Create a CVS repository at path.
Method getRoot Return the CVS root for this server.
Method makeModule Create a module on the CVS server called module_name.
Method start_server Undocumented
def __init__(self, repository_path):
Construct a CVSServer.
Parametersrepository_pathThe path to the directory that will contain the CVS repository.
def createRepository(self, path):
Create a CVS repository at path.
ParameterspathThe local path to create a repository in.
ReturnsA CVS.Repository`.
def getRoot(self):
Return the CVS root for this server.
@run_in_temporary_directory
def makeModule(self, module_name, tree_contents):
Create a module on the CVS server called module_name.

A 'module' in CVS roughly corresponds to a project.

Parametersmodule_nameThe name of the module to create.
tree_contentsThe contents of the module. This is a list of tuples of (relative filename, file contents).
def start_server(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2018-11-19 00:00:14.