Package PyFoam :: Package Basics :: Module SvkInterface :: Class SvkInterface
[hide private]
[frames] | no frames]

Class SvkInterface

source code


The interface class to svk

Only a partial implementation (As much as the BuildHelper needs)

Instance Methods [hide private]
 
__init__(self, path, init=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
branchName(self)
Return the branch-name (or another identifying string)
source code
 
getInfo(self, info) source code
 
getRevision(self)
Get the current revision number
source code
 
update(self, timeout=None)
Update the working copy from the parent repository
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from GeneralVCSInterface.GeneralVCSInterface
 
addGlobToIgnore(self, expr)
Add to the ignore-facility of the current VCS
source code
 
addPath(self, path, rules=[])
Add the path to the repository (no commit)
source code
 
addRegexpToIgnore(self, expr)
Add to the ignore-facility of the current VCS
source code
 
addStandardIgnores(self)
Add the usual ignores
source code
 
clone(self, dest)
Clone the repository
source code
 
commit(self, msg)
Commit the current state
source code
 
doInPath(self, func, *args, **kwargs)
Execute a function in the root directory of the repository.
source code
 
executeWithOuput(self, cmd)
Executes a command and returns the output
source code
 
getRoot(self, path)
Returns the actual repository root for a path.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, path, init=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • path - path which is supposed to be under version control
  • init - initialize the version control system here
Overrides: object.__init__
(inherited documentation)

branchName(self)

source code 

Return the branch-name (or another identifying string)

Overrides: GeneralVCSInterface.GeneralVCSInterface.branchName
(inherited documentation)

getRevision(self)

source code 

Get the current revision number

Overrides: GeneralVCSInterface.GeneralVCSInterface.getRevision
(inherited documentation)

update(self, timeout=None)

source code 

Update the working copy from the parent repository

Parameters:
  • timeout - Wait a maximum time (if the VCS supports this)
Overrides: GeneralVCSInterface.GeneralVCSInterface.update
(inherited documentation)