You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kamesh Jayachandran <ka...@collab.net> on 2006/11/23 06:19:58 UTC

Re: svn commit: r22406 - branches/multiple-moves/subversion/tests/cmdline

> +
> +# Test moving copying multiple files from a repo to a wc
> +
> +def copy_multiple_repo_wc(sbox):
> +  "copy multiple files from a repo to a wc"
> +
> +  sbox.build()
> +  wc_dir = sbox.wc_dir
> +
> +  chi_url = sbox.repo_url + '/A/D/H/chi'
> +  psi_url = sbox.repo_url + '/A/D/H/psi'
> +  omega_url = sbox.repo_url + '/A/D/H/omega'
> +  E_url = sbox.repo_url + '/A/B/E'
> +  C_path = os.path.join(wc_dir, 'A', 'C')
> +
> +  # Perform the copy and check the output
> +  svntest.actions.run_and_verify_svn(None, None, [], 'cp',
> +                                     '--username', svntest.main.wc_author,
> +                                     '--password', svntest.main.wc_passwd,
> +                                     chi_url, psi_url, omega_url, E_url,
> +                                     C_path)
>   

Hope this testcase is not complete yet unlike the other ones as we don't 
verify post copy.

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: r22406 - branches/multiple-moves/subversion/tests/cmdline

Posted by "Hyrum K. Wright" <hy...@mail.utexas.edu>.
Kamesh Jayachandran wrote:
> 
>> +
>> +# Test moving copying multiple files from a repo to a wc
>> +
>> +def copy_multiple_repo_wc(sbox):
>> +  "copy multiple files from a repo to a wc"
>> +
>> +  sbox.build()
>> +  wc_dir = sbox.wc_dir
>> +
>> +  chi_url = sbox.repo_url + '/A/D/H/chi'
>> +  psi_url = sbox.repo_url + '/A/D/H/psi'
>> +  omega_url = sbox.repo_url + '/A/D/H/omega'
>> +  E_url = sbox.repo_url + '/A/B/E'
>> +  C_path = os.path.join(wc_dir, 'A', 'C')
>> +
>> +  # Perform the copy and check the output
>> +  svntest.actions.run_and_verify_svn(None, None, [], 'cp',
>> +                                     '--username',
>> svntest.main.wc_author,
>> +                                     '--password',
>> svntest.main.wc_passwd,
>> +                                     chi_url, psi_url, omega_url, E_url,
>> +                                     C_path)
>>   
> 
> Hope this testcase is not complete yet unlike the other ones as we don't
> verify post copy.

Thanks for the review!  Fixed in r22412.

-Hyrum