|
Boost-Commit : |
From: bdawes_at_[hidden]
Date: 2007-10-14 08:40:11
Author: bemandawes
Date: 2007-10-14 08:40:10 EDT (Sun, 14 Oct 2007)
New Revision: 40011
URL: http://svn.boost.org/trac/boost/changeset/40011
Log:
Change svn info to svn info --xml to cope with non-English locales. Make scan for number insensitive to svn info --xml option.
Text files modified:
trunk/tools/regression/xsl_reports/runner/regression.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/tools/regression/xsl_reports/runner/regression.py
==============================================================================
--- trunk/tools/regression/xsl_reports/runner/regression.py (original)
+++ trunk/tools/regression/xsl_reports/runner/regression.py 2007-10-14 08:40:10 EDT (Sun, 14 Oct 2007)
@@ -654,13 +654,14 @@
svn_info_file = os.path.join( boost_root, 'svn_info.txt' )
if os.path.exists( svn_root_file ):
source = 'SVN'
- svn_command( 'user', 'info ' + boost_root + ' >' + svn_info_file )
+ svn_command( 'user', 'info --xml ' + boost_root + ' >' + svn_info_file )
if os.path.exists( svn_info_file ):
f = open( svn_info_file, 'r' )
svn_info = f.read()
f.close()
i = svn_info.find( 'Revision:' )
+ if i < 0: i = svn_info.find( 'revision=' ) # --xml format
if i >= 0:
i += 10
while svn_info[i] >= '0' and svn_info[i] <= '9':
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