]> git.saurik.com Git - wxWidgets.git/blobdiff - build/buildbot/config/include/xp_vc.xml
set correct EOL style for files added in r58024
[wxWidgets.git] / build / buildbot / config / include / xp_vc.xml
index d37ad948dcdcfdcf12fd965932ca46ae6a75d0fc..e46cbe381472a334fe05a10fc341e9de8c1b686d 100644 (file)
 
 <!--
     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>