def dump_revprops(sbox):
    'svnadmin dump-revprops'
    sbox.build(create_wc=False)
    (exit_code, dump_contents, errput) = svntest.actions.run_and_verify_svnadmin(None, [], 'dump-revprops', '-q', sbox.repo_dir)
    for line in dump_contents:
        if (line.find(b'Node-path: ') > (- 1)):
            logger.warn('Error: path change found in revprops-only dump.')
            raise svntest.Failure
    (exit_code, log_msg, errput) = svntest.actions.run_and_verify_svnlook(None, [], 'log', '-r1', sbox.repo_dir)
    input_file = sbox.get_tempname()
    svntest.main.file_write(input_file, 'Modified log message...\n')
    svntest.actions.run_and_verify_svnadmin([], [], 'setlog', '--bypass-hooks', '-r1', sbox.repo_dir, input_file)
    svntest.actions.run_and_verify_svnlook(['Modified log message...\n', '\n'], [], 'log', '-r1', sbox.repo_dir)
    svntest.main.run_command_stdin(svntest.main.svnadmin_binary, None, 0, True, dump_contents, 'load-revprops', sbox.repo_dir)
    svntest.actions.run_and_verify_svnlook(log_msg, [], 'log', '-r1', sbox.repo_dir)
svnadmin dump-revprops
def dump_revprops(sbox):
    
    sbox.build(create_wc=False)
    (exit_code, dump_contents, errput) = svntest.actions.run_and_verify_svnadmin(None, [], 'dump-revprops', '-q', sbox.repo_dir)
    for line in dump_contents:
        if (line.find(b'Node-path: ') > (- 1)):
            logger.warn('Error: path change found in revprops-only dump.')
            raise svntest.Failure
    (exit_code, log_msg, errput) = svntest.actions.run_and_verify_svnlook(None, [], 'log', '-r1', sbox.repo_dir)
    input_file = sbox.get_tempname()
    svntest.main.file_write(input_file, 'Modified log message...\n')
    svntest.actions.run_and_verify_svnadmin([], [], 'setlog', '--bypass-hooks', '-r1', sbox.repo_dir, input_file)
    svntest.actions.run_and_verify_svnlook(['Modified log message...\n', '\n'], [], 'log', '-r1', sbox.repo_dir)
    svntest.main.run_command_stdin(svntest.main.svnadmin_binary, None, 0, True, dump_contents, 'load-revprops', sbox.repo_dir)
    svntest.actions.run_and_verify_svnlook(log_msg, [], 'log', '-r1', sbox.repo_dir)