Package roslib :: Module manifestlib :: Class VersionControl
[frames] | no frames]

Class VersionControl

source code

object --+
         |
        VersionControl

Manifest 'versioncontrol' tag

Instance Methods
 
__init__(self, type_, url)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
str
xml(self)
Returns: versioncontrol instance represented as manifest XML
source code

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

Properties
  type
  url

Inherited from object: __class__

Method Details

__init__(self, type_, url)
(Constructor)

source code 

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

Parameters:
  • type_ (str) - version control type (e.g. 'svn'). must be non empty
  • url (str) - URL associated with version control. must be non empty
Overrides: object.__init__

xml(self)

source code 
Returns: str
versioncontrol instance represented as manifest XML