Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-06-16 17:26:17


Author: troy
Date: 2007-06-16 17:26:16 EDT (Sat, 16 Jun 2007)
New Revision: 7081
URL: http://svn.boost.org/trac/boost/changeset/7081

Log:

Catch error when initbuilds called before anything has been checked out.

Text files modified:
   sandbox-branches/boost-cmake/dart-client/client.py | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: sandbox-branches/boost-cmake/dart-client/client.py
==============================================================================
--- sandbox-branches/boost-cmake/dart-client/client.py (original)
+++ sandbox-branches/boost-cmake/dart-client/client.py 2007-06-16 17:26:16 EDT (Sat, 16 Jun 2007)
@@ -102,7 +102,10 @@
     builds = []
     for id in urls:
         srcdir = os.path.join(topdir, prefix, id, "src")
- rev = svn_status_revision(srcdir)
+ try:
+ rev = svn_status_revision(srcdir)
+ except:
+ rev = -1
         for bv in build_variants:
             for cv in ctest_variants:
                 build = Build(id, bv, cv, rev)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk