def dump_copied_dir(sbox):
    "'svnadmin dump' on copied directory"
    sbox.build()
    wc_dir = sbox.wc_dir
    repo_dir = sbox.repo_dir
    old_C_path = os.path.join(wc_dir, 'A', 'C')
    new_C_path = os.path.join(wc_dir, 'A', 'B', 'C')
    svntest.main.run_svn(None, 'cp', old_C_path, new_C_path)
    sbox.simple_commit(message='log msg')
    (exit_code, output, errput) = svntest.main.run_svnadmin('dump', repo_dir)
    if svntest.verify.compare_and_display_lines("Output of 'svnadmin dump' is unexpected.", 'STDERR', ['* Dumped revision 0.\n', '* Dumped revision 1.\n', '* Dumped revision 2.\n'], errput):
        raise svntest.Failure
'svnadmin dump' on copied directory
def dump_copied_dir(sbox):
    
    sbox.build()
    wc_dir = sbox.wc_dir
    repo_dir = sbox.repo_dir
    old_C_path = os.path.join(wc_dir, 'A', 'C')
    new_C_path = os.path.join(wc_dir, 'A', 'B', 'C')
    svntest.main.run_svn(None, 'cp', old_C_path, new_C_path)
    sbox.simple_commit(message='log msg')
    (exit_code, output, errput) = svntest.main.run_svnadmin('dump', repo_dir)
    if svntest.verify.compare_and_display_lines("Output of 'svnadmin dump' is unexpected.", 'STDERR', ['* Dumped revision 0.\n', '* Dumped revision 1.\n', '* Dumped revision 2.\n'], errput):
        raise svntest.Failure