qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritch...@apache.org
Subject svn commit: r763366 - /qpid/trunk/qpid/buildtools/buildCreator/buildCreator.py
Date Wed, 08 Apr 2009 19:48:29 GMT
Author: ritchiem
Date: Wed Apr  8 19:48:28 2009
New Revision: 763366

URL: http://svn.apache.org/viewvc?rev=763366&view=rev
Log:
Updated buildCreator to correctly checkout the specified SVN revision and updated to print
the correct values in to the REVISION.txt file.

Modified:
    qpid/trunk/qpid/buildtools/buildCreator/buildCreator.py

Modified: qpid/trunk/qpid/buildtools/buildCreator/buildCreator.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/buildtools/buildCreator/buildCreator.py?rev=763366&r1=763365&r2=763366&view=diff
==============================================================================
--- qpid/trunk/qpid/buildtools/buildCreator/buildCreator.py (original)
+++ qpid/trunk/qpid/buildtools/buildCreator/buildCreator.py Wed Apr  8 19:48:28 2009
@@ -1039,7 +1039,7 @@
 	    url = getValue(patch.getElementsByTagName(URL)[0])
 	    substitution += "\n" + ECHO_BIN + " \"\t\tURL:" + url + "\" >> "+filename
 	    if (type == SVN):
-		    if (source.getElementsByTagName(REVISION).length > 0):
+		    if (patch.getElementsByTagName(REVISION).length > 0):
                         substitution += "\n" + ECHO_BIN + " \"\t\tREVISION:"+ \
 			         getValue(patch.getElementsByTagName(REVISION)[0])  + "\" >> " + filename
    
 		    else:			
@@ -1112,7 +1112,7 @@
             command = SVN_BIN+" co "+url+" "+targetdir
             if (source.getElementsByTagName(REVISION).length > 0):
                 revision =  getValue(source.getElementsByTagName(REVISION)[0])
-                command = command+" -r"+revision
+		command = SVN_BIN+" co "+url+"@"+revision+" "+targetdir
         else:
             if (type == HTTP):
                 command = WGET_BIN+" --no-directories -P "+targetdir+" "+url



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message