libbe.storage.vcs.arch

GNU Arch (tla) backend.

class libbe.storage.vcs.arch.Arch(*args, **kwargs)

base.VCS implementation for GNU Arch.

Methods

add(id, *args, **kwargs) Add an entry
ancestors(*args, **kwargs) Return a list of the specified entry’s ancestors’ ids.
changed(revision)
check_storage_version()
children(*args, **kwargs) Return a list of specified entry’s children’s ids.
commit(*args, **kwargs) Commit the current repository, with a commit message string summary and body.
connect() Open a connection to the repository.
destroy() Remove the storage repository.
disconnect() Close the connection to the repository.
exists(*args, **kwargs) Check an entry’s existence
get(*args, **kwargs) Get contents of and entry as they were in a given revision.
get_user_id() Get the VCS’s suggested user id (e.g. “John Doe <jdoe@example.com>”).
init() Create a new storage repository.
installed()
is_readable()
is_writeable()
path(id[, revision, relpath])
recursive_remove(*args, **kwargs) Remove an entry and all its decendents.
remove(*args, **kwargs) Remove an entry.
revision_id([index])
root() Set the root directory to the path’s VCS root.
set(id, value, *args, **kwargs) Set the entry contents.
storage_version([revision, path]) Return the storage version of the on-disk files.
version()
version_cmp(*args) Compare the installed VCS version V_i with another version
client = 'tla'
name = 'arch'
exception libbe.storage.vcs.arch.CantAddFile(file)
libbe.storage.vcs.arch.new()

Previous topic

libbe.storage.vcs

This Page