[Erp5-report] r41874 jm - /erp5/trunk/products/ERP5/bin/run_test_suite

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 30 13:22:01 CET 2010


Author: jm
Date: Thu Dec 30 13:22:01 2010
New Revision: 41874

URL: http://svn.erp5.org?rev=41874&view=rev
Log:
run_test_suite: fix getting effective revision in case of full checkout

Modified:
    erp5/trunk/products/ERP5/bin/run_test_suite

Modified: erp5/trunk/products/ERP5/bin/run_test_suite
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bin/run_test_suite?rev=41874&r1=41873&r2=41874&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bin/run_test_suite [utf8] (original)
+++ erp5/trunk/products/ERP5/bin/run_test_suite [utf8] Thu Dec 30 13:22:01 2010
@@ -133,6 +133,8 @@ class Updater(object):
     raise NotImplementedError
 
   def checkout(self, *path_list):
+    if not path_list:
+      path_list = '.',
     revision = self.revision
     if os.path.isdir('.git'):
       # edit .git/info/sparse-checkout if you want sparse checkout
@@ -152,7 +154,7 @@ class Updater(object):
         if path and not os.path.isdir(path):
           svn_mkdirs(path)
           self.spawn(*(args + ['--depth=empty', path]))
-      for path in path_list or ('.',):
+      for path in path_list:
         args = ['svn', 'up', '--force', '--non-interactive']
         if revision:
           args.append('-r%s' % revision)



More information about the Erp5-report mailing list