def dump_move_dir_modify_child(sbox):
    "'svnadmin dump' on modified child of copied dir"
    sbox.build()
    wc_dir = sbox.wc_dir
    repo_dir = sbox.repo_dir
    B_path = os.path.join(wc_dir, 'A', 'B')
    Q_path = os.path.join(wc_dir, 'A', 'Q')
    svntest.main.run_svn(None, 'cp', B_path, Q_path)
    svntest.main.file_append(os.path.join(Q_path, 'lambda'), 'hello')
    sbox.simple_commit(message='log msg')
    (exit_code, output, errput) = svntest.main.run_svnadmin('dump', repo_dir)
    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)
    (exit_code, output, errput) = svntest.main.run_svnadmin('dump', '-r', '0:HEAD', repo_dir)
    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)
'svnadmin dump' on modified child of copied dir
def dump_move_dir_modify_child(sbox):
    
    sbox.build()
    wc_dir = sbox.wc_dir
    repo_dir = sbox.repo_dir
    B_path = os.path.join(wc_dir, 'A', 'B')
    Q_path = os.path.join(wc_dir, 'A', 'Q')
    svntest.main.run_svn(None, 'cp', B_path, Q_path)
    svntest.main.file_append(os.path.join(Q_path, 'lambda'), 'hello')
    sbox.simple_commit(message='log msg')
    (exit_code, output, errput) = svntest.main.run_svnadmin('dump', repo_dir)
    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)
    (exit_code, output, errput) = svntest.main.run_svnadmin('dump', '-r', '0:HEAD', repo_dir)
    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)