Home | Trees | Index | Help |
---|
Package pybaz :: Class Version |
|
object
--+ |NamespaceObject
--+ |ArchiveItem
--+ |CategoryItem
--+ |BranchItem
--+ |object
--+ | | |NamespaceObject
--+ | | |RevisionIterable
--+ | | |object
--+ | | | | |NamespaceObject
--+ | | | | |ArchiveItem
--+ | | | | |Setupable
--+ | | |Package
--+ |object
--+ | | |NamespaceObject
--+ | | |RevisionIterable
--+ | Version
Arch version namespace object.
See Also:
Archive
, Category
, Branch
, Revision
Method Summary | |
---|---|
Create a Version object from its name. | |
Instanciate a revision belonging to this version. | |
Deprecated. | |
bool |
Does this namespace exists? |
Construct a project tree for this version. | |
tuple of |
Deprecated. |
tuple of |
Deprecated. |
iterator of |
Iterate over the cached revisions in this version. |
iterable of |
Iterate over library revisions. |
Revisions present in this version at specified archive location. | |
iterable of |
Iterate over merge points in this version. |
iterable of |
Iterate over archive revisions. |
Inherited from BranchItem | |
Deprecated. | |
Inherited from CategoryItem | |
Deprecated. | |
Inherited from Package | |
Deprecated. | |
Latest revision in this package. | |
Inherited from Setupable | |
Deprecated. | |
Inherited from ArchiveItem | |
Deprecated. | |
str |
Deprecated |
str |
Deprecated. |
Inherited from NamespaceObject | |
bool |
Compare types and fully-qualified names. |
bool |
Compare types and fully-qualified names. |
str |
Fully-qualified name in angle brackets. |
str |
Fully-qualified name. |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Property Summary | |
---|---|
tuple of |
library_revisions : Deprecated. |
tuple of |
revisions : Deprecated. |
Inherited from BranchItem | |
branch : Branch which contains this namespace object. | |
Inherited from CategoryItem | |
category : Category which contains this object. | |
Inherited from ArchiveItem | |
archive : Archive which contains this namespace object. | |
str |
fullname : Fully qualfied name of this namespace object. |
str |
nonarch : Non-arch part of this namespace name. |
Method Details |
---|
__init__(self,
name)
|
__getitem__(self,
idx)
|
as_version(self)Deprecated. This version.
|
exists(self)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
|
get(self, dir, link=False)Construct a project tree for this version. Extract the latest revision for this version from the archive. That is a shortcut for version.latest_revision.get(dir). It can be susceptible to race conditions when a concurrent transaction occurs on the same version, yielding a latter revision that what you may have meant.
|
get_library_revisions(self, reverse=False)Deprecated. Revisions in this version present in the library.
|
get_revisions(self, reverse=False)Deprecated. Revisions in this version.
|
iter_cachedrevs(self)Iterate over the cached revisions in this version.
|
iter_library_revisions(self, reverse=False)Iterate over library revisions.
|
iter_location_revisions(self, location)Revisions present in this version at specified archive location. will be removed shortly after bound namespace objects are properly implemented.
|
iter_merges(self, other=None, reverse=False, metoo=True)Iterate over merge points in this version. This method is mostly useful to save multiple invocations of the command-line tool and multiple connection to a remote archives when building an ancestry graph. Ideally, it would not be present and the desired merge graph traversal would be done using the new_patches and merges properties of Patchlog objects.
|
iter_revisions(self, reverse=False)Iterate over archive revisions.
|
Property Details |
---|
library_revisionsDeprecated. Revisions in this version present in the library. |
revisionsDeprecated. Revisions in this version. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Jul 7 17:05:33 2006 | http://epydoc.sf.net |