From 0f02151d5f3f7546ebcebbca7041c05567f0f439 Mon Sep 17 00:00:00 2001 From: Nicolas Wavrant Date: Thu, 14 Nov 2024 16:51:49 +0900 Subject: [PATCH] fixup! repozo: support incremental recover --- src/ZODB/scripts/repozo.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ZODB/scripts/repozo.py b/src/ZODB/scripts/repozo.py index 2c1e38fbd..05033a63b 100755 --- a/src/ZODB/scripts/repozo.py +++ b/src/ZODB/scripts/repozo.py @@ -789,9 +789,6 @@ def do_incremental_recover(options, repofiles): 'falling back to a full recover.') return do_full_recover(options, repofiles) - if startpos < initial_length: - log('Truncating target file %i bytes before its end', - initial_length - startpos) filename = os.path.join(options.repository, os.path.basename(fn)) first_file_to_restore = repofiles.index(filename)