@Issue(3734)
def load_ranges(sbox):
    "'svnadmin load --revision X:Y'"
    sbox.build(empty=True)
    dumpfile_location = os.path.join(os.path.dirname(sys.argv[0]), 'svnadmin_tests_data', 'skeleton_repos.dump')
    dumplines = svntest.actions.load_dumpfile(dumpfile_location)
    load_dumpstream(sbox, dumplines, '-r0:2')
    svntest.actions.run_and_verify_svnlook(['2\n'], None, 'youngest', sbox.repo_dir)
    load_dumpstream(sbox, dumplines, '-r3:4')
    svntest.actions.run_and_verify_svnlook(['4\n'], None, 'youngest', sbox.repo_dir)
    load_dumpstream(sbox, dumplines, '-r5:6')
    svntest.actions.run_and_verify_svnlook(['6\n'], None, 'youngest', sbox.repo_dir)
    if (svntest.main.options.server_minor_version < 6):
        temp = []
        for line in dumplines:
            if (not ('Text-content-sha1:' in line)):
                temp.append(line)
        expected_dump = UnorderedOutput(temp)
    else:
        expected_dump = UnorderedOutput(dumplines)
    new_dumpdata = svntest.actions.run_and_verify_dump(sbox.repo_dir)
    svntest.verify.compare_and_display_lines('Dump files', 'DUMP', expected_dump, new_dumpdata)
'svnadmin load --revision X:Y'
@Issue(3734)
def load_ranges(sbox):
    
    sbox.build(empty=True)
    dumpfile_location = os.path.join(os.path.dirname(sys.argv[0]), 'svnadmin_tests_data', 'skeleton_repos.dump')
    dumplines = svntest.actions.load_dumpfile(dumpfile_location)
    load_dumpstream(sbox, dumplines, '-r0:2')
    svntest.actions.run_and_verify_svnlook(['2\n'], None, 'youngest', sbox.repo_dir)
    load_dumpstream(sbox, dumplines, '-r3:4')
    svntest.actions.run_and_verify_svnlook(['4\n'], None, 'youngest', sbox.repo_dir)
    load_dumpstream(sbox, dumplines, '-r5:6')
    svntest.actions.run_and_verify_svnlook(['6\n'], None, 'youngest', sbox.repo_dir)
    if (svntest.main.options.server_minor_version < 6):
        temp = []
        for line in dumplines:
            if (not ('Text-content-sha1:' in line)):
                temp.append(line)
        expected_dump = UnorderedOutput(temp)
    else:
        expected_dump = UnorderedOutput(dumplines)
    new_dumpdata = svntest.actions.run_and_verify_dump(sbox.repo_dir)
    svntest.verify.compare_and_display_lines('Dump files', 'DUMP', expected_dump, new_dumpdata)