Skip to content

Apache Lucene open-source search software

Remove some unused lines from addBackcompatIndexes.py related to svn (#1322)

Jan Høydahl751fbecc5855
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')