gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r168572 - /gump/branches/Gump3/pygump/python/gump/config.py
Date Fri, 06 May 2005 08:47:49 GMT
Author: leosimons
Date: Fri May  6 01:47:49 2005
New Revision: 168572

URL: http://svn.apache.org/viewcvs?rev=168572&view=rev
Log:
Make svn/cvs updates part of the main run instead of preprocessing.

* pygump/python/gump/config.py: move updating to processing stage.

Modified:
    gump/branches/Gump3/pygump/python/gump/config.py

Modified: gump/branches/Gump3/pygump/python/gump/config.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/config.py?rev=168572&r1=168571&r2=168572&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/config.py (original)
+++ gump/branches/Gump3/pygump/python/gump/config.py Fri May  6 01:47:49 2005
@@ -104,13 +104,6 @@
     from gump.plugins.instrumentation import TimerPlugin
     pre_process_plugins.append(TimerPlugin("run_start"))
     
-    if config.do_update:    
-        pre_process_plugins.append(TimerPlugin("update_start"))
-        from gump.plugins.updater import CvsUpdater, SvnUpdater
-        pre_process_plugins.append(CvsUpdater(config.paths_work))
-        pre_process_plugins.append(SvnUpdater(config.paths_work))
-        pre_process_plugins.append(TimerPlugin("update_end"))
-        
     plugins = []
     # TODO: append more plugins here...
 
@@ -121,6 +114,13 @@
     reportlog = get_logger(config, "plugin.logger")
     from gump.plugins.logreporter import DebugLogReporterPlugin
     plugins.append(DebugLogReporterPlugin(reportlog))
+        
+    if config.do_update:    
+        plugins.append(TimerPlugin("update_start"))
+        from gump.plugins.updater import CvsUpdater, SvnUpdater
+        plugins.append(CvsUpdater(config.paths_work))
+        plugins.append(SvnUpdater(config.paths_work))
+        plugins.append(TimerPlugin("update_end"))
         
     # by contract, rmdir always needs to go before mkdir!
     from gump.plugins.dirbuilder import RmdirBuilderPlugin



Mime
View raw message