X-Git-Url: https://git.ralfj.de/mass-build.git/blobdiff_plain/b82c0cdbd36ccfbdff73f65616f30f7d22f9083b..546c80d1c559cb94223f9c459db719d143df7291:/vcs.py diff --git a/vcs.py b/vcs.py index 994f03b..8acb571 100644 --- a/vcs.py +++ b/vcs.py @@ -47,6 +47,10 @@ class Git: print "(keeping local patches around)", print +class KDEGit(Git): + def __init__(self, folder, name, commit): + Git.__init__(self, folder, 'kde:'+name, commit) + # Fetch updates via SVN class SVN: def __init__(self, folder, svnPath): @@ -60,3 +64,7 @@ class SVN: subprocess.check_call(['svn', 'switch', self.svnPath]) # and update to the URL we got else: subprocess.check_call(['svn', 'co', self.svnPath, self.folder])# just download it + +class KDESVN(SVN): + def __init__(self, folder, svnPath): + SVN.__init__(self, folder, 'svn://svn.kde.org/home/kde/'+svnPath)