| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
NamespaceObject --+
|
ArchiveItem --+
|
Setupable --+
|
object --+ |
| |
NamespaceObject --+ |
| |
RevisionIterable --+ |
| |
VersionIterable --+ |
| |
BranchIterable --+
|
Category
Arch category namespace object. :see: `Archive`, `Branch`, `Version`, `Revision`
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
| Properties | |
|
branches Deprecated. |
|
|
library_branches Deprecated. |
|
|
Inherited from Inherited from |
|
| Method Details |
Instanciate a branch belonging to this category.
For example ``Category('jdoe@example.com/frob')['devel']`` is
equivalent to ``Branch('jdoe@example.com/frob--devel')``.
:param b: branch id.
:type b: str
:rtype: `Category`
:raise NamespaceError: argument is not a valid branch id.
|
Create a category object from its name. :param name: fully-qualified category name, like "jdoe@example.com/frob" :type name: str :raise errors.NamespaceError: ``name`` is not a valid category name.
|
Does this namespace exists?
Within the Arch model, history cannot be changed: created archive
entries cannot be deleted. However, it is possible to ``unregister`` an
archive, or to find references to archives whose location is not known.
Thus, existence cannot always be decided. Testing for the existence of
a name in a non-registered archive raises
`errors.ArchiveNotRegistered`.
:return: whether this namespace object exists.
:rtype: bool
:raise errors.ArchiveNotRegistered: the archive name is not registered,
so existence cannot be decided.
:raise errors.ExecProblem: there was a problem accessing the archive.
|
Deprecated. Branches in this category. :rtype: tuple of `Branch` :see: `iter_branches` |
Deprecated. Branches in this category present in the library. :rtype: tuple of `Branch` :see: `iter_library_branches` |
Iterate over archive branches. :return: all existing branches in this namespace. :rtype: iterable of `Branch` :precondition: `self.exists()` returns ``True``.
|
Iterate over library branches.
:return: branches in this namespace which are present in the
revision library.
:rtype: iterable of `Branch`
|
| Property Details |
branchesDeprecated. Branches in this category. :type: tuple of `Branch` :see: `Category.iter_branches`
|
library_branchesDeprecated. Branches in this category present in the library. :type: tuple of `Branch` :see: `Category.iter_branches`
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Wed Sep 5 09:53:13 2007 | http://epydoc.sourceforge.net |