Ticket #552 (closed defect: fixed)
Bitten svn:checkout does not handle failure to check out externals
| Reported by: | matthew.davey@… | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.6.1 |
| Component: | Recipe commands | Version: | dev |
| Keywords: | RHEL5, svn:checkout | Cc: | |
| Operating System: | Linux |
Description
In our repository we are using svn:externals to check out dependent libraries to build our platform. I am using Bitten 0.6dev and Subversion "svn, version 1.5.5 (r34862)" on "Linux machine 2.6.18-128.1.6.el5 #1 SMP"
The disk appears to have run out of space during this procedure and svn reported the following:
svn: warning: Error handling externals definition for 'externals/dependent-lib': svn: warning: Network connection closed unexpectedly
The svn:checkout part of our recipe does not detect this warning and Bitten reports the checkout passed, even though the dependent external is missing.
Can this warning be detected and fail the entire Bitten run? Is there an extra option that could be provided to the checkout step to detect warnings and abort?
This is the checkout part of our recipe:
<step id="checkout">
<svn:checkout url="svn+ssh://server/svnroot/platform" path="${path}" revision="${revision}"/>
</step>
