Class p.u.a.c.CommandBased(VCSBase):

Part of pida.utils.anyvc.cmdbased View In Hierarchy

Known subclasses: pida.utils.anyvc.cmdbased.DCommandBased, pida.utils.anyvc.cmdbased.Git, pida.utils.anyvc.cmdbased.SubVersion

Base class for all command based rcs's

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
41 Method __init__ Undocumented
45 Method find_basepath Undocumented
68 Method process_paths process paths for vcs's usefull for "relpath-bitches"
74 Method execute_command Undocumented
90 Method get_commit_args creates a argument list for commiting
99 Method get_diff_args Undocumented
102 Method get_update_args Undocumented
108 Method get_add_args Undocumented
111 Method get_remove_args Undocumented
114 Method get_revert_args Undocumented
117 Method get_status_args Undocumented
120 Method get_list_args Undocumented
123 Method commit Undocumented
127 Method diff Undocumented
131 Method update Undocumented
135 Method status Undocumented
139 Method add Undocumented
143 Method remove Undocumented
147 Method revert Undocumented
151 Method list_impl the default implementation is only cappable of
162 Method cache_impl only runs caching if it knows, how
173 Method get_cache_args Undocumented

Inherited from VCSBase:

Line # Kind Name Docs
36 Method parse_list_items redirect to parse_list_item
44 Method parse_list_item parse a single listing item
50 Method parse_cache_items parses vcs specific cache items to a list of (name, state) tuples
71 Method cache return a mapping of name to cached states
83 Method list yield a list of Path instances tagged with status informations
Line # Kind Name Docs
41 Method __init__ Undocumented
139 Method add Undocumented
71 Method cache return a mapping of name to cached states
162 Method cache_impl only runs caching if it knows, how
123 Method commit Undocumented
127 Method diff Undocumented
74 Method execute_command Undocumented
45 Method find_basepath Undocumented
108 Method get_add_args Undocumented
173 Method get_cache_args Undocumented
90 Method get_commit_args creates a argument list for commiting
99 Method get_diff_args Undocumented
120 Method get_list_args Undocumented
111 Method get_remove_args Undocumented
114 Method get_revert_args Undocumented
117 Method get_status_args Undocumented
102 Method get_update_args Undocumented
83 Method list yield a list of Path instances tagged with status informations
151 Method list_impl the default implementation is only cappable of
50 Method parse_cache_items parses vcs specific cache items to a list of (name, state) tuples
44 Method parse_list_item parse a single listing item
36 Method parse_list_items redirect to parse_list_item
68 Method process_paths process paths for vcs's usefull for "relpath-bitches"
143 Method remove Undocumented
147 Method revert Undocumented
135 Method status Undocumented
131 Method update Undocumented
def __init__(self, versioned_path):
Undocumented
def find_basepath(self):
Undocumented
def process_paths(self, paths):
process paths for vcs's usefull for "relpath-bitches"
def execute_command(self, args, result_type=str, **kw):
Undocumented
def get_commit_args(self, message, paths=(), **kw):
creates a argument list for commiting
Parametersmessage

the commit message

paths

the paths to commit

def get_diff_args(self, paths=(), **kw):
Undocumented
def get_update_args(self, revision=None, **kw):
Undocumented
def get_add_args(self, paths=(), recursive=False, **kw):
Undocumented
def get_remove_args(self, paths=(), recursive=False, execute=False, **kw):
Undocumented
def get_revert_args(self, paths=(), recursive=False, **kw):
Undocumented
def get_status_args(self, **kw):
Undocumented
def get_list_args(self, **kw):
Undocumented
def commit(self, **kw):
Undocumented
def diff(self, **kw):
Undocumented
def update(self, **kw):
Undocumented
def status(self, **kw):
Undocumented
def add(self, **kw):
Undocumented
def remove(self, **kw):
Undocumented
def revert(self, **kw):
Undocumented
def list_impl(self, **kw):
the default implementation is only cappable of recursive operation on the complete workdir

rcs-specific implementations might support non-recursive and path-specific listing

def cache_impl(self, recursive, **kw):
only runs caching if it knows, how
def get_cache_args(self, **kw):
Undocumented
API Documentation for PIDA, generated by pydoctor.