Class implementing the version control systems interface to CVS.
Methods
|
|
|
|
__init__
|
__init__ (
self,
parent=None,
name=None,
)
Constructor
Arguments
- parent
- parent widget (QWidget)
- name
- name of this object (string or QString)
|
|
vcsAdd
|
vcsAdd (
self,
name,
isDir=0,
)
Public method used to add a file/directory to the cvs repository.
Arguments
- name
- file/directory name to be committed (string)
- isDir
- flag indicating name is a directory (boolean)
|
|
vcsAddBinary
|
vcsAddBinary (
self,
name,
isDir=0,
)
Public method used to add a file/directory in binary mode to the cvs repository.
Arguments
- name
- file/directory name to be committed (string)
- isDir
- flag indicating name is a directory (boolean)
|
|
vcsAddTree
|
vcsAddTree ( self, path )
Public method to add a directory tree rooted at path to the cvs repository.
Arguments
- path
- root directory of the tree to be added (string)
|
|
vcsAllRegisteredStates
|
vcsAllRegisteredStates (
self,
names,
dname,
)
Public method used to get the registered states of a number of files in the vcs.
Arguments
- names
- dictionary with all filenames to be checked as keys
- dname
- directory to check in (string)
Returns
the received dictionary completed with a combination of
canBeCommited and canBeAdded or None in order to signal an error
|
|
vcsCheckout
|
vcsCheckout (
self,
vcsDir,
project,
projectDir,
noDialog=0,
tag=None,
)
Public method used to check the project out of the cvs repository.
Arguments
- vcsDir
- name of the VCS directory (string)
- project
- reference to the project object
- projectDir
- project directory to create (string)
- noDialog
- flag indicating quiet operations
- tag
- tag of version to check out (string)
Returns
flag indicating an execution without errors (boolean)
|
|
vcsCommit
|
vcsCommit (
self,
name,
message,
noDialog=0,
)
Public method used to make the change of a file/directory permanent in the cvs repository.
Arguments
- name
- file/directory name to be committed (string)
- message
- message for this operation (string)
- noDialog
- flag indicating quiet operations
Returns
flag indicating an execution without errors (boolean)
|
|
vcsDiff
|
vcsDiff ( self, name )
Public method used to view the difference of a file/directory to the cvs repository.
Arguments
- name
- file/directory name to be committed (string)
|
|
vcsExists
|
vcsExists ( self )
Public method used to test for the presence of the cvs executable.
Returns
flag indicating the existance (boolean)
|
|
vcsExport
|
vcsExport (
self,
vcsDir,
project,
projectDir,
tag=None,
)
Public method used to export a directory from the cvs repository.
Arguments
- vcsDir
- name of the VCS directory (string)
- project
- reference to the project object
- projectDir
- project directory to create (string)
- tag
- tag of version to check out (string)
Returns
flag indicating an execution without errors (boolean)
|
|
vcsHistory
|
vcsHistory ( self, name )
Public method used to view the history of a file/directory in the cvs repository.
Arguments
- name
- file/directory name to be committed (string)
|
|
vcsImport
|
vcsImport (
self,
vcsDir,
message,
project,
vendor,
release,
projectDir,
noDialog=0,
)
Public method used to import the project into the cvs repository.
Arguments
- vcsDir
- name of the VCS directory (string)
- message
- message for this operation (string)
- project
- reference to the project object
- vendor
- vendor string (string)
- release
- release version string (string)
- projectDir
- project directory to create (string)
- noDialog
- flag indicating quiet operations
Returns
flag indicating an execution without errors (boolean)
|
|
vcsInit
|
vcsInit (
self,
vcsDir,
noDialog=0,
)
Public method used to initialize the cvs repository.
Arguments
- vcsDir
- name of the VCS directory (string)
- noDialog
- flag indicating quiet operations (boolean)
Returns
flag indicating an execution without errors (boolean)
|
|
vcsLog
|
vcsLog ( self, name )
Public method used to view the log of a file/directory from the cvs repository.
Arguments
- name
- file/directory name to be committed (string)
|
|
vcsLogin
|
vcsLogin (
self,
user,
passwd,
host,
repository,
)
Public method used to login to the remote repository.
Arguments
- user
- user name (string)
- passwd
- password (string)
- host
- hostname (string)
- repository
- repository name (string)
|
|
vcsLogout
|
vcsLogout (
self,
user,
host,
repository,
)
Public method used to logout from the remote repository.
Arguments
- user
- user name (string)
- host
- hostname (string)
- repository
- repository name (string)
|
|
vcsName
|
vcsName ( self )
Public method returning the name of the vcs.
Returns
always CVS (string)
|
|
vcsRegisteredState
|
vcsRegisteredState ( self, name )
Public method used to get the registered state of a file in the vcs.
Arguments
- name
- filename to check (string)
Returns
a combination of canBeCommited and canBeAdded or
0 in order to signal an error
|
|
vcsRemove
|
vcsRemove (
self,
name,
project=0,
)
Public method used to remove a file/directory from the cvs repository.
The default operation is to remove the local copy as well.
Arguments
- name
- file/directory name to be committed (string)
- project
- flag indicating deletion of a project tree (boolean)
|
|
vcsStatus
|
vcsStatus ( self, name )
Public method used to view the status of a file in the cvs repository.
Arguments
- name
- file/directory name to be committed (string)
|
|
vcsTag
|
vcsTag ( self, name )
Public method used to set the tag of a file/directory in the cvs repository.
Arguments
- name
- file/directory name to be committed (string)
|
|
vcsUpdate
|
vcsUpdate ( self, name )
Public method used to update a file/directory with the cvs repository.
Arguments
- name
- file/directory name to be committed (string)
|