summaryrefslogtreecommitdiffstats
path: root/python/pykde/svnmerge.py
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-14 19:47:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-14 19:47:20 +0000
commit875ae8e38bc3663e5057ca910e7ebe4b2994edb9 (patch)
treeddd3b3bc4d6f0343bae986aebbf9555c20f8e558 /python/pykde/svnmerge.py
parentcb61a0436524f8ceba31db51ce3f1c5d4afbbb0e (diff)
downloadtdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.tar.gz
tdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.zip
Updated python directory
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1175349 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pykde/svnmerge.py')
-rw-r--r--python/pykde/svnmerge.py47
1 files changed, 0 insertions, 47 deletions
diff --git a/python/pykde/svnmerge.py b/python/pykde/svnmerge.py
deleted file mode 100644
index 7b90652b..00000000
--- a/python/pykde/svnmerge.py
+++ /dev/null
@@ -1,47 +0,0 @@
-import os, os.path
-
-svnbase = "/home/jim/PyKDE/"
-newbase = "/home/jim/PyKDE352/"
-
-newfiles = os.listdir (os.path.join (newbase, "sip"))
-
-for file in newfiles:
- newpath = os.path.join (newbase, "sip", file)
- if os.path.isdir (newpath):
- svnpath = os.path.join (svnbase, "sip", file)
- if os.path.exists (svnpath):
- newsip = os.listdir (newpath)
- svnsip = os.listdir (svnpath)
- for sip in newsip:
- os.system ("cp %s %s" % (os.path.join (newpath, sip), svnpath))
- if sip not in svnsip:
- os.system ("svn add %s" % (os.path.join (svnpath, sip)))
- print "added %s" % sip
- else:
- os.system ("cp -R %s %s" % (newpath, svnpath))
- os.system ("svn add %s" % svnpath)
- print "added %s" % svnpath
-
-newfiles = os.listdir (os.path.join (newbase, "extra"))
-
-for file in newfiles:
- newpath = os.path.join (newbase, "extra", file)
- if os.path.isdir (newpath):
- svnpath = os.path.join (svnbase, "extra", file)
- if os.path.exists (svnpath):
- newextra = os.listdir (newpath)
- svnextra = os.listdir (svnpath)
- for extra in newextra:
- os.system ("cp %s %s" % (os.path.join (newpath, extra), svnpath))
- if extra not in svnextra:
- os.system ("svn add %s" % (os.path.join (svnpath, extra)))
- print "added %s" % extra
- else:
- os.system ("cp -R %s %s" % (newpath, svnpath))
- os.system ("svn add %s" % svnpath)
- print "added %s" % svnpath
-
-files = ["configure.py", "*.prj", "svnm*"]
-
-for file in files:
- os.system ("cp %s %s" % (os.path.join (newbase, file), os.path.join (svnbase, file))) \ No newline at end of file