From 875ae8e38bc3663e5057ca910e7ebe4b2994edb9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Sep 2010 19:47:20 +0000 Subject: Updated python directory git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1175349 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- python/pykde/svnmergedocs.py | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 python/pykde/svnmergedocs.py (limited to 'python/pykde/svnmergedocs.py') diff --git a/python/pykde/svnmergedocs.py b/python/pykde/svnmergedocs.py deleted file mode 100644 index e77a908d..00000000 --- a/python/pykde/svnmergedocs.py +++ /dev/null @@ -1,30 +0,0 @@ -import os, os.path - -svnbase = "/home/jim/PyKDE/doc/classref" -newbase = "/home/jim/PyKDE352/doc/classref" - -newfiles = os.listdir (newbase) - -for file in newfiles: - if os.path.isdir (file): - newpath = os.path.join (newbase, file) - svnpath = os.path.join (svnbase, file) - if os.path.exists (svnpath): - newdoc = os.listdir (newpath) - svndoc = os.listdir (svnpath) - for doc in newdoc: - os.system ("cp %s %s" % (os.path.join (newpath, doc), svnpath)) - if doc not in svndoc: - os.system ("svn add %s" % (os.path.join (svnpath, doc))) - print "added %s" % doc - else: - os.system ("cp -R %s %s" % (newpath, svnpath)) - os.system ("svn add %s" % svnpath) - else: - if os.path.exists (os.path.join (svnbase, file)): - os.system ("cp %s %s" % (os.path.join (newbase, file), svnbase)) - else: - os.system ("cp %s %s" % (os.path.join (newbase, file), svnbase)) - os.system ("svn add %s" % (os.path.join (svnbase, file))) - - \ No newline at end of file -- cgit v1.2.3