remove any KDE special treatment from sourcecode, this is all a matter of configurati...
[mass-build.git] / vcs.py
diff --git a/vcs.py b/vcs.py
index 9c91e933654d0326f2c06d31f8a1be0f4a8a4600..b2387c7f53eb65e2207a9577bdb613652a7ffde0 100644 (file)
--- a/vcs.py
+++ b/vcs.py
@@ -52,17 +52,6 @@ class Git:
                if v.startswith('v'): v = v[1:]
                return v
 
-       def ignore(self, name):
-               with open(os.path.join(self.folder, '.git', 'info', 'exclude'), 'r+') as f:
-                       for line in f:
-                               line = line.replace('\n', '').replace('\r', '')
-                               if line == name: return # is already ignored
-                       print >>f, name # add ignore line
-
-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, versionName):
@@ -79,10 +68,3 @@ class SVN:
 
        def version(self):
                return self.versionName
-
-       def ignore(self, name):
-               pass
-
-class KDESVN(SVN):
-       def __init__(self, folder, svnPath, version):
-               SVN.__init__(self, folder, 'svn://svn.kde.org/home/kde/'+svnPath, version)