Author: ritchiem
Date: Sat Apr 11 02:19:14 2009
New Revision: 764154

URL: http://svn.apache.org/viewvc?rev=764154&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.
Merged from trunk r763366

Modified:
    qpid/branches/0.5-release/qpid/buildtools/buildCreator/buildCreator.py

Modified: qpid/branches/0.5-release/qpid/buildtools/buildCreator/buildCreator.py
URL: 
http://svn.apache.org/viewvc/qpid/branches/0.5-release/qpid/buildtools/buildCreator/buildCreator.py?rev=764154&r1=764153&r2=764154&view=diff
==============================================================================
--- qpid/branches/0.5-release/qpid/buildtools/buildCreator/buildCreator.py 
(original)
+++ qpid/branches/0.5-release/qpid/buildtools/buildCreator/buildCreator.py Sat 
Apr 11 02:19:14 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:[email protected]

Reply via email to