From 751fbecc5855d76cf85edfe2f42f5de613313682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Wed, 11 Mar 2020 00:43:42 +0100 Subject: [PATCH] Remove some unused lines from addBackcompatIndexes.py related to svn (#1322) --- dev-tools/scripts/addBackcompatIndexes.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dev-tools/scripts/addBackcompatIndexes.py b/dev-tools/scripts/addBackcompatIndexes.py index e8855310ce0..e02163ed43e 100755 --- a/dev-tools/scripts/addBackcompatIndexes.py +++ b/dev-tools/scripts/addBackcompatIndexes.py @@ -92,11 +92,6 @@ def create_and_add_index(source, indextype, index_version, current_version, temp print(' adding %s...' % filename, end='', flush=True) scriptutil.run('cp %s %s' % (bc_index_file, os.path.join(base_dir, index_dir))) os.chdir(base_dir) - output = scriptutil.run('svn status %s' % test_file) - if not output.strip(): - # make sure to only add if the file isn't already in svn (we might be regenerating) - scriptutil.run('svn add %s' % test_file) - os.chdir(base_dir) scriptutil.run('rm -rf %s' % bc_index_dir) print('done')