[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r11902 - trunk/subversion/tests/clients/cmdline

From: <kfogel_at_collab.net>
Date: 2004-11-15 16:05:15 CET

brane@tigris.org writes:
> Log:
> Fix a bug in stat_tests.py that caused the automated tests to fail,
> even though the test itself was basically correct. The trouble was
> that a working copy created in the wrong place was left behind, so a
> later test using a different RA method (and therefore different URL)
> would find it sitting there and complain.
>
> * subversion/tests/clients/cmdline/stat_tests.py
> (status_on_partially_nonrecursive_wc): Create the second working
> copy using the tools provided by the framework, which take care
> of cleaning up after and removing old cruft before it's used.

My bad -- thanks for the cleanup, Brane.

-Karl

> --- trunk/subversion/tests/clients/cmdline/stat_tests.py (original)
> +++ trunk/subversion/tests/clients/cmdline/stat_tests.py Sun Nov 14 14:44:17 2004
> @@ -717,11 +717,11 @@
> svntest.main.run_svn(None, 'ci', '-m', 'log msg', rho)
>
> # Make the working copy weird in the right way, then try status -u.
> - svntest.main.safe_rmtree(wc_dir)
> - svntest.main.run_svn(None, 'co', '-r1', '-N', D_url, 'D')
> + D_wc = sbox.add_wc_path('D')
> + svntest.main.run_svn(None, 'co', '-r1', '-N', D_url, D_wc)
> saved_cwd = os.getcwd()
> - os.chdir('D')
> try:
> + os.chdir(D_wc)
> svntest.main.run_svn(None, 'up', '-r1', 'H')
> svntest.main.run_svn(None, 'st', '-u')
> finally:
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 15 18:02:17 2004

This is an archived mail posted to the Subversion Dev mailing list.