Class p.u.a.b.VCSBase(object):

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

Known subclasses: pida.utils.anyvc.cmdbased.CommandBased

Base class for all vcs's remember not to use super in subclasses
Line # Kind Name Docs
32 Method __init__ Undocumented
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
56 Method cache_impl creates a list of vcs specific cache items
65 Method list_impl yield a list of vcs specific listing items
71 Method cache return a mapping of name to cached states
83 Method list yield a list of Path instances tagged with status informations
94 Method diff Undocumented
97 Method update Undocumented
100 Method commit Undocumented
103 Method revert Undocumented
106 Method add Undocumented
109 Method remove Undocumented
def __init__(self, path):
Undocumented
def parse_list_items(self, items, cache):
redirect to parse_list_item a more complex parser might need to overwrite
def parse_list_item(self, item):
parse a single listing item
def parse_cache_items(self, items):
parses vcs specific cache items to a list of (name, state) tuples
def cache_impl(self, paths=False, recursive=False):
creates a list of vcs specific cache items only necessary by messed up vcs's

in case of doubt - dont touch ^^

def list_impl(self, paths=False, recursive=False):
yield a list of vcs specific listing items
def cache(self, paths=(), recursive=False):
return a mapping of name to cached states only necessary for messed up vcs's
def list(self, paths=(), recursive=False):
yield a list of Path instances tagged with status informations
def diff(self, paths=()):
Undocumented
def update(self, revision=None):
Undocumented
def commit(self, paths=None, message=None):
Undocumented
def revert(self, paths=None, missing=False):
Undocumented
def add(self, paths=None, recursive=False):
Undocumented
def remove(self, paths=None, execute=False, recursive=False):
Undocumented
API Documentation for PIDA, generated by pydoctor.