gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: rev 51756 - gump/trunk/python/gump/update
Date Fri, 01 Oct 2004 20:53:11 GMT
Author: ajack
Date: Fri Oct  1 13:53:10 2004
New Revision: 51756

Modified:
   gump/trunk/python/gump/update/svn.py
Log:
Name the location to 'svn checkout' into, *especially* if the directory is not named the
same as the module, or if not sub-directory specified.

Modified: gump/trunk/python/gump/update/svn.py
==============================================================================
--- gump/trunk/python/gump/update/svn.py	(original)
+++ gump/trunk/python/gump/update/svn.py	Fri Oct  1 13:53:10 2004
@@ -250,8 +250,8 @@
         # If module name != SVN directory, tell SVN to put it into
         # a directory named after our module
         #
-        if module.svn.hasDir():
-            if not module.svn.getDir() == module.getName():
+        if not module.svn.hasDir() or \
+           not module.svn.getDir() == module.getName():
                 cmd.addParameter(module.getName())
         
         return (module.repository, url, cmd)

Mime
View raw message