예제 #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
파일: svn.py 프로젝트: btubbs/vcstools
 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
파일: git.py 프로젝트: trainman419/vcstools
    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
파일: hg.py 프로젝트: k-okada/vcstools
 def __init__(self, path):
     """
     :raises: VcsError if hg not detected
     """
     VcsClientBase.__init__(self, 'hg', path)
     _get_hg_version()
예제 #6
0
파일: git.py 프로젝트: po1/vcstools
 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
파일: tar.py 프로젝트: GrMrWb/RCMS-for-ROS
 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
파일: bzr.py 프로젝트: btubbs/vcstools
 def __init__(self, path):
     """
     :raises: VcsError if bzr not detected
     """
     VcsClientBase.__init__(self, 'bzr', path)
     _get_bzr_version()