def _write(self):
    ' Rewrite indexes using svnfsfs. '
    by_offset = {}
    for key in self.by_item:
        values = self.by_item[key]
        by_offset[int(values[0], 16)] = values
    lines = []
    for (offset, values) in sorted(by_offset.items()):
        values = by_offset[offset]
        line = (((((((((values[0] + ' ') + values[1]) + ' ') + values[2]) + ' ') + values[3]) + ' ') + values[4]) + '\n')
        lines.append(line.encode())
    (exit_code, output, errput) = svntest.main.run_command_stdin(svntest.main.svnfsfs_binary, 0, 0, False, lines, 'load-index', self.repo_dir)
    svntest.verify.verify_outputs('Error while rewriting index', output, errput, [], [])
    svntest.verify.verify_exit_code(None, exit_code, 0)
Rewrite indexes using svnfsfs.
def _write(self):
    '  '
    by_offset = {}
    for key in self.by_item:
        values = self.by_item[key]
        by_offset[int(values[0], 16)] = values
    lines = []
    for (offset, values) in sorted(by_offset.items()):
        values = by_offset[offset]
        line = (((((((((values[0] + ' ') + values[1]) + ' ') + values[2]) + ' ') + values[3]) + ' ') + values[4]) + '\n')
        lines.append(line.encode())
    (exit_code, output, errput) = svntest.main.run_command_stdin(svntest.main.svnfsfs_binary, 0, 0, False, lines, 'load-index', self.repo_dir)
    svntest.verify.verify_outputs('Error while rewriting index', output, errput, [], [])
    svntest.verify.verify_exit_code(None, exit_code, 0)