def load_ignore_dates(sbox):
    'svnadmin load --ignore-dates'
    start_time = time.localtime()
    time.sleep(1)
    sbox.build(create_wc=False, empty=True)
    dumpfile_location = os.path.join(os.path.dirname(sys.argv[0]), 'svnadmin_tests_data', 'skeleton_repos.dump')
    dumpfile_skeleton = svntest.actions.load_dumpfile(dumpfile_location)
    load_dumpstream(sbox, dumpfile_skeleton, '--ignore-dates')
    svntest.actions.run_and_verify_svnlook(['6\n'], None, 'youngest', sbox.repo_dir)
    for rev in range(1, 6):
        (exit_code, output, errput) = svntest.main.run_svnlook('date', '-r', rev, sbox.repo_dir)
        if errput:
            raise SVNUnexpectedStderr(errput)
        rev_time = time.strptime(output[0].rstrip()[:19], '%Y-%m-%d %H:%M:%S')
        if (rev_time < start_time):
            raise svntest.Failure(('Revision time for r%d older than load start time\n    rev_time: %s\n  start_time: %s' % (rev, str(rev_time), str(start_time))))
svnadmin load --ignore-dates
def load_ignore_dates(sbox):
    
    start_time = time.localtime()
    time.sleep(1)
    sbox.build(create_wc=False, empty=True)
    dumpfile_location = os.path.join(os.path.dirname(sys.argv[0]), 'svnadmin_tests_data', 'skeleton_repos.dump')
    dumpfile_skeleton = svntest.actions.load_dumpfile(dumpfile_location)
    load_dumpstream(sbox, dumpfile_skeleton, '--ignore-dates')
    svntest.actions.run_and_verify_svnlook(['6\n'], None, 'youngest', sbox.repo_dir)
    for rev in range(1, 6):
        (exit_code, output, errput) = svntest.main.run_svnlook('date', '-r', rev, sbox.repo_dir)
        if errput:
            raise SVNUnexpectedStderr(errput)
        rev_time = time.strptime(output[0].rstrip()[:19], '%Y-%m-%d %H:%M:%S')
        if (rev_time < start_time):
            raise svntest.Failure(('Revision time for r%d older than load start time\n    rev_time: %s\n  start_time: %s' % (rev, str(rev_time), str(start_time))))