You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ko...@apache.org on 2014/08/04 15:26:02 UTC
svn commit: r1615551 -
/subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py
Author: kotkov
Date: Mon Aug 4 13:26:01 2014
New Revision: 1615551
URL: http://svn.apache.org/r1615551
Log:
* subversion/tests/cmdline/svnadmin_tests.py
(freeze_freeze): Following up on r1589476, entirely avoid creating a
working copy within this test. We only need it as a placeholder for the
temporary 'arg-file', so we might as well use the Sandbox.get_tempname()
helper routine.
Modified:
subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py?rev=1615551&r1=1615550&r2=1615551&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py Mon Aug 4 13:26:01 2014
@@ -2562,7 +2562,7 @@ def verify_packed(sbox):
def freeze_freeze(sbox):
"svnadmin freeze svnadmin freeze (some-cmd)"
- sbox.build(read_only=True) # need working copy as location for arg-file
+ sbox.build(create_wc=False, read_only=True)
second_repo_dir, _ = sbox.add_repo_path('backup')
svntest.actions.run_and_verify_svnadmin(None, None, [], "hotcopy",
sbox.repo_dir, second_repo_dir)
@@ -2574,7 +2574,7 @@ def freeze_freeze(sbox):
svntest.main.svnadmin_binary, 'freeze', '--', second_repo_dir,
sys.executable, '-c', 'True')
- arg_file = sbox.ospath('arg-file')
+ arg_file = sbox.get_tempname()
svntest.main.file_write(arg_file,
"%s\n%s\n" % (sbox.repo_dir, second_repo_dir))