Package moap :: Package vcs :: Module cvs :: Class CVS
[hide private]
[frames] | no frames]

Class CVS

source code

extern.log.log.Loggable --+    
                          |    
                    vcs.VCS --+
                              |
                             CVS

Instance Methods [hide private]
 
getNotIgnored(self)
Returns: list of paths unknown to the VCS, relative to the base path
source code
 
ignore(self, paths, commit=True)
Make the VCS ignore the given list of paths.
source code
bool
commit(self, paths, message)
Commit the given list of paths, with the given message.
source code
str
diff(self, path)
Return a diff for the given path.
source code
 
update(self, path)
Update the given path to the latest version.
source code

Inherited from vcs.VCS: __init__, createTree, getAdded, getChanges, getDeleted, getFileMatcher, getPropertyChanges

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  name = 'CVS'

Inherited from vcs.VCS: logCategory

Method Details [hide private]

getNotIgnored(self)

source code 
Returns:
list of paths unknown to the VCS, relative to the base path
Overrides: vcs.VCS.getNotIgnored
(inherited documentation)

ignore(self, paths, commit=True)

source code 

Make the VCS ignore the given list of paths.

Parameters:
  • paths - list of paths, relative to the checkout directory
  • commit - if True, commit the ignore updates.
Overrides: vcs.VCS.ignore
(inherited documentation)

commit(self, paths, message)

source code 

Commit the given list of paths, with the given message. Note that depending on the VCS, parents that were just added may need to be commited as well.

Returns: bool
Overrides: vcs.VCS.commit
(inherited documentation)

diff(self, path)

source code 

Return a diff for the given path.

Returns: str
the diff
Overrides: vcs.VCS.diff
(inherited documentation)

update(self, path)

source code 

Update the given path to the latest version.

Overrides: vcs.VCS.update
(inherited documentation)