subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1552091 - /subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py
Date Wed, 18 Dec 2013 20:51:07 GMT
Author: rhuijben
Date: Wed Dec 18 20:51:07 2013
New Revision: 1552091

URL: http://svn.apache.org/r1552091
Log:
Following up on r1552079, fix an ordering problem by introducing a
helper method.

* subversion/tests/cmdline/svntest/sandbox.py
  (build): Make sure the repository is accessible before the checkout
    by calling the authz change a bit earlier.

Modified:
    subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py

Modified: subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py?rev=1552091&r1=1552090&r2=1552091&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py Wed Dec 18 20:51:07 2013
@@ -94,12 +94,16 @@ class Sandbox:
        and check out a WC from it (unless CREATE_WC is false). Change the
        sandbox's name to NAME. See actions.make_repo_and_wc() for details."""
     self._set_name(name, read_only)
+    self._ensure_authz()
     svntest.actions.make_repo_and_wc(self, create_wc, read_only, minor_version)
     self._is_built = True
 
     if not os.path.exists(svntest.main.work_dir):
       os.makedirs(svntest.main.work_dir)
 
+  def _ensure_authz(sef):
+    "make sure the repository is accessible"
+
     if self.repo_url.startswith("http"):
       default_authz = "[/]\n* = rw\n"
 



Mime
View raw message