From: g0dil Date: Tue, 19 Jan 2010 09:05:42 +0000 (+0000) Subject: Fix SparseTestHack to work without subversion installed X-Git-Url: http://g0dil.de/git?p=senf.git;a=commitdiff_plain;h=c770f9c19d48a50742b9f45e492c12c601bdb1fd Fix SparseTestHack to work without subversion installed git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1546 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/site_scons/SparseTestHack.py b/site_scons/SparseTestHack.py index c8681d0..319ee28 100644 --- a/site_scons/SparseTestHack.py +++ b/site_scons/SparseTestHack.py @@ -137,7 +137,7 @@ def build(env, accept_unknown_tests=False, verbose=False): def findSCMChanges(env): def scmchanges(dir): - if os.popen("cd %s; svnversion" % dir.abspath).read().strip() == "exported": + if os.popen("cd %s; svnversion" % dir.abspath).read().strip() in ("","exported"): return [ dir.Entry(x) for x in os.popen("cd %s; git ls-files --modified" % dir.abspath).read().strip().split("\n") ]