projects
/
mass-build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make configuration more flexible and more readable
[mass-build.git]
/
vcs.py
diff --git
a/vcs.py
b/vcs.py
index 994f03b6edbb5cf03cd7cdb14704781eba81d514..8acb571aa161a4cb4df82d2a237d2cd77deb0521 100644
(file)
--- a/
vcs.py
+++ b/
vcs.py
@@
-47,6
+47,10
@@
class Git:
print "(keeping local patches around)",
print
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):
# 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
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)