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

This commit is contained in:
Jan Høydahl 2020-03-11 00:43:42 +01:00 committed by GitHub
parent 79feb93bd9
commit 751fbecc58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -92,11 +92,6 @@ def create_and_add_index(source, indextype, index_version, current_version, temp
print(' adding %s...' % filename, end='', flush=True) print(' adding %s...' % filename, end='', flush=True)
scriptutil.run('cp %s %s' % (bc_index_file, os.path.join(base_dir, index_dir))) scriptutil.run('cp %s %s' % (bc_index_file, os.path.join(base_dir, index_dir)))
os.chdir(base_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) scriptutil.run('rm -rf %s' % bc_index_dir)
print('done') print('done')