Пример #1
0
 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()
Пример #2
0
 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()
Пример #3
0
    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
Пример #4
0
 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)
Пример #5
0
 def __init__(self, path):
     """
     :raises: VcsError if hg not detected
     """
     VcsClientBase.__init__(self, 'hg', path)
     _get_hg_version()
Пример #6
0
 def __init__(self, path):
     """
     :raises: VcsError if git not detected
     """
     VcsClientBase.__init__(self, 'git', path)
     self.gitversion = _get_git_version()
Пример #7
0
 def __init__(self, path):
     """
     :raises: VcsError if bzr not detected
     """
     VcsClientBase.__init__(self, 'bzr', path)
     _get_bzr_version()
Пример #8
0
 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)
Пример #9
0
 def __init__(self, path):
     """
     :raises: VcsError if hg not detected
     """
     VcsClientBase.__init__(self, 'hg', path)
     _get_hg_version()
Пример #10
0
 def __init__(self, path):
     """
     :raises: VcsError if git not detected
     """
     VcsClientBase.__init__(self, 'git', path)
     self.gitversion = _get_git_version()
Пример #11
0
 def __init__(self, path):
     """
     :raises: VcsError if bzr not detected
     """
     VcsClientBase.__init__(self, 'bzr', path)
     _get_bzr_version()