def load_revprops(sbox):
    'svnadmin load-revprops'
    sbox.build(create_wc=False, empty=True)
    dump_path = os.path.join(os.path.dirname(sys.argv[0]), 'svnadmin_tests_data', 'skeleton_repos.dump')
    dump_contents = open(dump_path, 'rb').readlines()
    load_and_verify_dumpstream(sbox, None, [], None, False, dump_contents)
    svntest.actions.run_and_verify_svnlook(['Initial setup...\n', '\n'], [], '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(['Initial setup...\n', '\n'], [], 'log', '-r1', sbox.repo_dir)
svnadmin load-revprops
def load_revprops(sbox):
    
    sbox.build(create_wc=False, empty=True)
    dump_path = os.path.join(os.path.dirname(sys.argv[0]), 'svnadmin_tests_data', 'skeleton_repos.dump')
    dump_contents = open(dump_path, 'rb').readlines()
    load_and_verify_dumpstream(sbox, None, [], None, False, dump_contents)
    svntest.actions.run_and_verify_svnlook(['Initial setup...\n', '\n'], [], '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(['Initial setup...\n', '\n'], [], 'log', '-r1', sbox.repo_dir)