gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r165510 - in /gump/branches/Gump3/pygump/python/gump: model/util.py plugins/updater.py
Date Sun, 01 May 2005 14:26:04 GMT
Author: leosimons
Date: Sun May  1 07:26:03 2005
New Revision: 165510

URL: http://svn.apache.org/viewcvs?rev=165510&view=rev
Log:
Move UPDATE_xxx constants into gump.model.util.

* pygump/python/gump/plugins/updater.py: use constants from pygump/python/gump/model/util.py.

* pygump/python/gump/model/util.py: new constants moved from pygump/python/gump/plugins/updater.py.

Modified:
    gump/branches/Gump3/pygump/python/gump/model/util.py
    gump/branches/Gump3/pygump/python/gump/plugins/updater.py

Modified: gump/branches/Gump3/pygump/python/gump/model/util.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/model/util.py?rev=165510&r1=165509&r2=165510&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/model/util.py (original)
+++ gump/branches/Gump3/pygump/python/gump/model/util.py Sun May  1 07:26:03 2005
@@ -24,6 +24,9 @@
 
 from gump.model import ModelObject, Error, Dependency, CvsModule, SvnModule
 
+UPDATE_TYPE_CHECKOUT="checkout"
+UPDATE_TYPE_UPDATE="update"
+
 def get_project_directory(workdir, project):
     """Determine the base directory for a project."""
     return get_module_directory(workdir, project.module)

Modified: gump/branches/Gump3/pygump/python/gump/plugins/updater.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/plugins/updater.py?rev=165510&r1=165509&r2=165510&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/plugins/updater.py (original)
+++ gump/branches/Gump3/pygump/python/gump/plugins/updater.py Sun May  1 07:26:03 2005
@@ -31,8 +31,7 @@
 from gump.util.executor import PIPE
 from gump.util.executor import STDOUT
 
-UPDATE_TYPE_CHECKOUT="checkout"
-UPDATE_TYPE_UPDATE="update"
+from gump.model.util import UPDATE_TYPE_CHECKOUT, UPDATE_TYPE_UPDATE
 
 class ModuleUpdater(AbstractPlugin):
     def __init__(self, workdir):



Mime
View raw message