Skip to content

Commit

Permalink
fixup! repozo: support incremental recover
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebatyne committed Nov 15, 2024
1 parent 51b0d94 commit 0f02151
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ZODB/scripts/repozo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0f02151

Please sign in to comment.