def __init__(self, path): """ :raises: VcsError if python-svn not detected """ VcsClientBase.__init__(self, 'svn', path) # test for svn here, we need it for status _get_svn_version()
def __init__(self, path, cache=False): """ :raises: VcsError if git not detected """ VcsClientBase.__init__(self, 'git', path) self.gitversion = _get_git_version() self.cache = cache # initialize cache variables self.url = None self.version = None self.versions = {} self.fetch = False
def __init__(self, path): """ @raise VcsError if tar not detected """ VcsClientBase.__init__(self, 'tar', path) self.metadata_path = os.path.join(self._path, _METADATA_FILENAME)
def __init__(self, path): """ :raises: VcsError if hg not detected """ VcsClientBase.__init__(self, 'hg', path) _get_hg_version()
def __init__(self, path): """ :raises: VcsError if git not detected """ VcsClientBase.__init__(self, 'git', path) self.gitversion = _get_git_version()
def __init__(self, path): """ :raises: VcsError if bzr not detected """ VcsClientBase.__init__(self, 'bzr', path) _get_bzr_version()