gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r953630 - /gump/trunk/python/gump/core/update/git.py
Date Fri, 11 Jun 2010 09:48:54 GMT
Author: bodewig
Date: Fri Jun 11 09:48:53 2010
New Revision: 953630

URL: http://svn.apache.org/viewvc?rev=953630&view=rev
Log:
On my Ubuntu 10.4 there are no git-pull or git-clone scripts.  The direct git invocations
seem to work on the Solaris zone and vmgump as well

Modified:
    gump/trunk/python/gump/core/update/git.py

Modified: gump/trunk/python/gump/core/update/git.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/update/git.py?rev=953630&r1=953629&r2=953630&view=diff
==============================================================================
--- gump/trunk/python/gump/core/update/git.py (original)
+++ gump/trunk/python/gump/core/update/git.py Fri Jun 11 09:48:53 2010
@@ -43,8 +43,9 @@ class GitUpdater(ScmUpdater):
             Build the appropriate GIT command for clone
         """
         log_repository_and_url(module, 'git')
-        cmd = Cmd('git-clone', 'update_' + module.getName(), 
+        cmd = Cmd('git', 'update_' + module.getName(), 
                   module.getWorkspace().getSourceControlStagingDirectory())
+        cmd.addParameter('clone')
         maybe_make_quiet(module, cmd)
         cmd.addParameter(module.getScm().getRootUrl())
         cmd.addParameter(module.getName())
@@ -55,8 +56,9 @@ class GitUpdater(ScmUpdater):
             Build the appropriate GIT command for pull
         """
         log_repository_and_url(module, 'git')
-        cmd = Cmd('git-pull', 'update_' + module.getName(), 
+        cmd = Cmd('git', 'update_' + module.getName(), 
                   module.getSourceControlStagingDirectory())
+        cmd.addParameter('pull')
         maybe_make_quiet(module, cmd)
         return cmd
 



Mime
View raw message