Home | Trees | Index | Help |
---|
Package pybaz |
|
High level bindings for the Arch revision control system
The Archive
, Category
, Branch
, Version
and Revision
classes
model the Arch namespace. Namespace objects can be created without the
corresponding archive structure being available.
Since they form a hierarchy of containers with shared methods and properties in both directions, but do not have any subclass relationship, they are defined using a collection of mixin classes.
The RevisionIterable
, VersionIterable
, BranchIterable
and
CategoryIterable
classes define the features which are inherited by
enclosing archive containers. Many methods in that hierarchy are
defined abstract (they raise UnimplementedError). They are always
overriden and are required to prevent legitimate PyChecker warnings.
The ArchiveItem
, CategoryItem
, BranchItem
and VersionItem
classes provides features which are inherited by enclosed archive
items. The NamespaceObject
, Setupable
and Package
classes
provide miscellaneous features and define aspects which do not fit
within the rest of the hierarchy.
Submodules | |
---|---|
|
Classes | |
---|---|
ArchiveLocationParams |
Parameter Object used for creating archives masters and mirrors. |
Factory |
Abstract factory for objects created by the public interface. |
Namespace Classes | |
ArchiveLocation |
A location identified by an url and containing a Bazaar archive. |
Archive |
Arch archive namespace object. |
Category |
Arch category namespace object. |
Branch |
Arch branch namespace object. |
Version |
Arch version namespace object. |
Revision |
Arch revision namespace object. |
Abstract Namespace Classes | |
NamespaceObject |
Base class for all archive objects. |
Setupable |
Base class for container archive objects. |
Package |
Base class for ordered container archive objects. |
CategoryIterable |
Base class for Archive. |
BranchIterable |
Base class for archive classes above Branch. |
VersionIterable |
Abstract class for archive classes above Version. |
RevisionIterable |
Abstract class for namespace classes above Revision. |
ArchiveItem |
Base class for all archive components classes. |
CategoryItem |
Base class for archive classes below Category. |
BranchItem |
Base class for archive classes Version and Revision. |
VersionItem |
Base class for Revision. |
Archive-Related Classes | |
RevisionFile |
File component of an archived revision. |
NameParser |
Parser for names in Arch archive namespace. |
Source Tree Classes | |
SourceTree |
Abstract base class for ForeignTree and ArchSourceTree . |
ForeignTree |
Generic source tree without Arch support. |
ArchSourceTree |
Abstract base class for Arch source trees. |
LibraryTree |
Read-only Arch source tree. |
WorkingTree |
Working source tree, Arch source tree which can be modified. |
Changeset and Log Classes | |
Changeset |
Arch whole-tree changeset. |
Patchlog |
Log entry associated to a revision. |
LogMessage |
Log message for use with commit, import or tag operations. |
Incremental Ouput | |
ChangesetCreation |
Incremental changeset generation process. |
ChangesetApplication |
Incremental changeset application process. |
Chatter |
Chatter lines in tla output. |
TreeChange |
Abstract base class for changes summary output lines. |
FileAddition |
Changeset summary line for a new file. |
FileDeletion |
Changeset summary line for a deleted file. |
FileModification |
Changeset summary line for file whose contents were modified. |
FilePermissionsChange |
Changeset summary line for a change in permissions. |
FileRename |
Changeset summary line for a renaming. |
SymlinkModification |
Changeset summary line for a symlink modification. |
MergeOutcome |
Abstract base class for changeset application summary output lines. |
PatchConflict |
Changeset application summary line for a patch conflict. |
Function Summary | |
---|---|
Archive Functions | |
sequence of |
Deprecated. |
iterable of |
Iterate over registered archives. |
Deprecated. | |
Deprecated. | |
Construct a project tree for a revision. | |
Deprecated. | |
Deprecated. | |
Source Tree Functions | |
Initialize a new project tree. | |
bool |
Is directory inside a Arch source tree? |
SourceTree containing the given directory. | |
User Functions | |
|
Default Archive object or None. |
str |
The current registered user id |
Set the current registered user id | |
Changeset Generation Functions | |
Deprecated. | |
Compute a whole-tree changeset. | |
Compute a whole-tree changeset with incremental output. | |
Pika Escaping Functions | |
str |
Escape a file name using the Arch syntax. |
str |
Unescape a file name using the Arch syntax. |
Revision Library Functions | |
Register an existing revision library directory. | |
Unregister a revision library directory. | |
iterable of str |
Iterate over registered revision library directories. |
sequence of |
Deprecated. |
iterable of |
Iterate over archives present in the revision library. |
Incremental Output Functions | |
iterable of |
Classify chatter in a sequence of strings. |
Iterable of |
Classify the output of a changeset creation command. |
iterable of |
Classify the output of a change-producing command. |
Obsolete Utility Functions | |
filter_archive_logs(limit,
pred)
| |
filter_revisions(limit,
pred)
| |
grep_summary(limit,
rx)
| |
grep_summary_interactive(limit)
| |
last_revision(tree)
| |
map_name_id(tree)
| |
revision_which_created(file,
revision)
| |
revisions_merging(limit,
rev)
| |
suspected_move(limit)
| |
temphack(revision)
|
Variable Summary | |
---|---|
backend : Backend controller. |
Function Details |
---|
archives()Deprecated. List of registered archives.
|
iter_archives()Iterate over registered archives.
|
make_archive(name, location, signed=False, listing=False, tla=False)Deprecated.
|
register_archive(name, location)Deprecated.
|
get(revision, dir, link=False)Construct a project tree for a revision.
|
get_patch(revision, dir)Deprecated.
|
make_continuation(source_revision, tag_version)Deprecated.
|
init_tree(directory, version=None, nested=False)Initialize a new project tree.
|
in_source_tree(directory=None)Is directory inside a Arch source tree?
|
tree_root(directory=None)SourceTree containing the given directory.
|
default_archive()Default Archive object or None.
|
my_id()The current registered user id
|
set_my_id(new_id)Set the current registered user id
|
changeset(orig, mod, dest)Deprecated. |
delta(orig, mod, dest)Compute a whole-tree changeset. Create the output directory dest (it must not already exist). Compare the source trees orig and mod (which may be source arch source tree or revisions). Create a changeset in dest.
|
iter_delta(orig, mod, dest)Compute a whole-tree changeset with incremental output.
|
name_escape(name)Escape a file name using the Arch syntax.
|
name_unescape(name)Unescape a file name using the Arch syntax.
|
register_revision_library(dirname)Register an existing revision library directory.
|
unregister_revision_library(dirname)Unregister a revision library directory.
|
iter_revision_libraries()Iterate over registered revision library directories.
|
library_archives()Deprecated. List of archives present in the revision library.
|
iter_library_archives()Iterate over archives present in the revision library.
|
classify_chatter(iter)Classify chatter in a sequence of strings. Generator that yields Chatter objects for chatter lines, and yields other lines verbatim.
|
classify_changeset_creation(lines, pad=' ')Classify the output of a changeset creation command.
|
classify_changeset_application(lines)Classify the output of a change-producing command.
|
Variable Details |
---|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Jul 7 17:05:29 2006 | http://epydoc.sf.net |