You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2009/04/08 21:48:29 UTC
svn commit: r763366 -
/qpid/trunk/qpid/buildtools/buildCreator/buildCreator.py
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