]> git.saurik.com Git - wxWidgets.git/blobdiff - build/buildbot/config/include/xp_vc.xml
Create wxPrintAbortDialog more sensibly.
[wxWidgets.git] / build / buildbot / config / include / xp_vc.xml
index d37ad948dcdcfdcf12fd965932ca46ae6a75d0fc..688dbb3a1bf6b3b80efdf3cc9fa54d517bbc3312 100644 (file)
@@ -6,7 +6,7 @@
     Author:     Michael Wetherell
     RCS-ID:     $Id$
     Copyright:  (c) 2008 Michael Wetherell
-    Licence:    wxWidgets licence
+    Licence:    wxWindows licence
 -->
 
 <bot xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
 <!--
     build - Override <build> to add a slave lock. This has the effect of
-            serialising all the builds on this machine
+            serialising builds for the same branch on this machine.
 -->
 <xsl:template name="build">
     <xsl:param name="content"/>
+    <xsl:variable name="checkout">
+        <xsl:apply-templates select="get:step('checkout')"/>
+    </xsl:variable>
     <build>
-        <lock>slave</lock>
+        <lock>
+            <xsl:value-of select="exsl:node-set($checkout)/svn/defaultBranch"/>
+        </lock>
         <xsl:copy-of select="$content"/>
     </build>
 </xsl:template>