subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1657776 - /subversion/trunk/subversion/tests/cmdline/svnsync_authz_tests.py
Date Fri, 06 Feb 2015 10:32:08 GMT
Author: julianfoad
Date: Fri Feb  6 10:32:08 2015
New Revision: 1657776

URL: http://svn.apache.org/r1657776
Log:
Following r1657773 (allow building a sandbox with an empty repository),
unbreak svnsync_authz_tests.py by updating it similarly.

* subversion/tests/cmdline/svnsync_authz_tests.py
  (): Don't try to import 'build_repos' from svnsync_tests.py because it's
    gone.
  (basic_authz,
   copy_from_unreadable_dir,
   copy_with_mod_from_unreadable_dir,
   specific_deny_authz,
   copy_delete_unreadable_child): Use sbox.build() instead of build_repos().

Modified:
    subversion/trunk/subversion/tests/cmdline/svnsync_authz_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/svnsync_authz_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnsync_authz_tests.py?rev=1657776&r1=1657775&r2=1657776&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnsync_authz_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnsync_authz_tests.py Fri Feb  6 10:32:08 2015
@@ -41,7 +41,7 @@ from svntest.main import write_authz_fil
 from svntest.main import server_has_partial_replay
 
 # Shared helpers
-from svnsync_tests import build_repos, run_init, run_sync, run_test
+from svnsync_tests import run_init, run_sync, run_test
 
 # (abbreviation)
 Skip = svntest.testcase.Skip_deco
@@ -62,7 +62,7 @@ def basic_authz(sbox):
   write_restrictive_svnserve_conf(sbox.repo_dir)
 
   dest_sbox = sbox.clone_dependent()
-  build_repos(dest_sbox)
+  dest_sbox.build(create_wc=False, empty=True)
 
   svntest.actions.enable_revprop_changes(dest_sbox.repo_dir)
 
@@ -140,7 +140,7 @@ def copy_from_unreadable_dir(sbox):
   write_restrictive_svnserve_conf(sbox.repo_dir)
 
   dest_sbox = sbox.clone_dependent()
-  build_repos(dest_sbox)
+  dest_sbox.build(create_wc=False, empty=True)
 
   svntest.actions.enable_revprop_changes(dest_sbox.repo_dir)
 
@@ -251,7 +251,7 @@ def copy_with_mod_from_unreadable_dir(sb
   write_restrictive_svnserve_conf(sbox.repo_dir)
 
   dest_sbox = sbox.clone_dependent()
-  build_repos(dest_sbox)
+  dest_sbox.build(create_wc=False, empty=True)
 
   svntest.actions.enable_revprop_changes(dest_sbox.repo_dir)
 
@@ -340,7 +340,7 @@ def copy_with_mod_from_unreadable_dir_an
   write_restrictive_svnserve_conf(sbox.repo_dir)
 
   dest_sbox = sbox.clone_dependent()
-  build_repos(dest_sbox)
+  dest_sbox.build(create_wc=False, empty=True)
 
   svntest.actions.enable_revprop_changes(dest_sbox.repo_dir)
 
@@ -416,7 +416,7 @@ def specific_deny_authz(sbox):
   sbox.build()
 
   dest_sbox = sbox.clone_dependent()
-  build_repos(dest_sbox)
+  dest_sbox.build(create_wc=False, empty=True)
 
   svntest.actions.enable_revprop_changes(dest_sbox.repo_dir)
 
@@ -477,7 +477,7 @@ def copy_delete_unreadable_child(sbox):
 
   # Create the destination.
   dest_sbox = sbox.clone_dependent()
-  build_repos(dest_sbox)
+  dest_sbox.build(create_wc=False, empty=True)
   svntest.actions.enable_revprop_changes(dest_sbox.repo_dir)
 
   # Lock down the source.



Mime
View raw message