def hotcopy_dot(sbox):
    "'svnadmin hotcopy PATH .'"
    sbox.build()
    (backup_dir, backup_url) = sbox.add_repo_path('backup')
    os.mkdir(backup_dir)
    cwd = os.getcwd()
    os.chdir(backup_dir)
    svntest.actions.run_and_verify_svnadmin(None, [], 'hotcopy', os.path.join(cwd, sbox.repo_dir), '.')
    os.chdir(cwd)
    if svntest.main.is_fs_type_fsfs():
        check_hotcopy_fsfs(sbox.repo_dir, backup_dir)
    if svntest.main.is_fs_type_bdb():
        check_hotcopy_bdb(sbox.repo_dir, backup_dir)
    if svntest.main.is_fs_type_fsx():
        check_hotcopy_fsx(sbox.repo_dir, backup_dir)
'svnadmin hotcopy PATH .'
def hotcopy_dot(sbox):
    
    sbox.build()
    (backup_dir, backup_url) = sbox.add_repo_path('backup')
    os.mkdir(backup_dir)
    cwd = os.getcwd()
    os.chdir(backup_dir)
    svntest.actions.run_and_verify_svnadmin(None, [], 'hotcopy', os.path.join(cwd, sbox.repo_dir), '.')
    os.chdir(cwd)
    if svntest.main.is_fs_type_fsfs():
        check_hotcopy_fsfs(sbox.repo_dir, backup_dir)
    if svntest.main.is_fs_type_bdb():
        check_hotcopy_bdb(sbox.repo_dir, backup_dir)
    if svntest.main.is_fs_type_fsx():
        check_hotcopy_fsx(sbox.repo_dir, backup_dir)