--- Extension/Builder/brand_version.py.old 2005-04-07 13:04:49.000000000 -0700 +++ Extension/Builder/brand_version.py 2005-04-07 13:07:46.000000000 -0700 @@ -19,19 +19,7 @@ key, value = [s.strip() for s in line.split('=',1)] branding_info[ key ] = value -build_revision = os.popen( 'svnversion -c "%s" 2>&1' % os.environ.get( 'PYSVN_EXPORTED_FROM', '..' ), 'r' ).read().strip() -# build_revision is either a range nnn:mmm or mmm -# we only want the mmm -build_revision = build_revision.split(':')[-1] -print 'Info: revision %s' % build_revision - -revision, modifiers = re.compile( '(\d+)(.*)' ).search( build_revision ).groups() - -if modifiers: - branding_info['BUILD'] = '0' -else: - branding_info['BUILD'] = revision - +branding_info['BUILD'] = '0' # read all the input text text = file( input_filename, 'r' ).read()