Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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
Exemplo n.º 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)
Exemplo n.º 5
0
 def __init__(self, path):
     """
     :raises: VcsError if hg not detected
     """
     VcsClientBase.__init__(self, 'hg', path)
     _get_hg_version()
Exemplo n.º 6
0
Arquivo: git.py Projeto: po1/vcstools
 def __init__(self, path):
     """
     :raises: VcsError if git not detected
     """
     VcsClientBase.__init__(self, 'git', path)
     self.gitversion = _get_git_version()
Exemplo n.º 7
0
 def __init__(self, path):
     """
     :raises: VcsError if bzr not detected
     """
     VcsClientBase.__init__(self, 'bzr', path)
     _get_bzr_version()
Exemplo n.º 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)
Exemplo n.º 9
0
 def __init__(self, path):
     """
     :raises: VcsError if hg not detected
     """
     VcsClientBase.__init__(self, 'hg', path)
     _get_hg_version()
Exemplo n.º 10
0
 def __init__(self, path):
     """
     :raises: VcsError if git not detected
     """
     VcsClientBase.__init__(self, 'git', path)
     self.gitversion = _get_git_version()
Exemplo n.º 11
0
 def __init__(self, path):
     """
     :raises: VcsError if bzr not detected
     """
     VcsClientBase.__init__(self, 'bzr', path)
     _get_bzr_version()