You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2015/03/08 15:36:26 UTC

svn commit: r1665002 - in /subversion/trunk/subversion/tests/cmdline: svnsync_authz_tests.py svnsync_tests.py svntest/sandbox.py

Author: rhuijben
Date: Sun Mar  8 14:36:25 2015
New Revision: 1665002

URL: http://svn.apache.org/r1665002
Log:
Following up on r1664997, rename new function to more closely match
names of related functions and variables.

* subversion/tests/cmdline/svnsync_authz_tests.py
  (copy_delete_unreadable_child): Update caller.

* subversion/tests/cmdline/svnsync_tests.py
  (setup_and_sync): Update caller.

* subversion/tests/cmdline/svntest/sandbox.py
  (file_protocol_url): Rename to...
  (file_protocol_repo_url): ... this.

Modified:
    subversion/trunk/subversion/tests/cmdline/svnsync_authz_tests.py
    subversion/trunk/subversion/tests/cmdline/svnsync_tests.py
    subversion/trunk/subversion/tests/cmdline/svntest/sandbox.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=1665002&r1=1665001&r2=1665002&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnsync_authz_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnsync_authz_tests.py Sun Mar  8 14:36:25 2015
@@ -471,7 +471,7 @@ def copy_delete_unreadable_child(sbox):
                        src_authz + ':/A': '* =',
                        })
 
-  dest_url = dest_sbox.file_protocol_url()
+  dest_url = dest_sbox.file_protocol_repo_url()
   run_init(dest_url, sbox.repo_url)
   run_sync(dest_url)
 

Modified: subversion/trunk/subversion/tests/cmdline/svnsync_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnsync_tests.py?rev=1665002&r1=1665001&r2=1665002&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnsync_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnsync_tests.py Sun Mar  8 14:36:25 2015
@@ -131,14 +131,14 @@ def setup_and_sync(sbox, dump_file_conte
   repo_url = sbox.repo_url
   cwd = os.getcwd()
   if is_src_ra_local:
-    repo_url = sbox.file_protocol_url()
+    repo_url = sbox.file_protocol_repo_url()
 
   if subdir:
     repo_url = repo_url + subdir
 
   dest_repo_url = dest_sbox.repo_url
   if is_dest_ra_local:
-    dest_repo_url = dest_sbox.file_protocol_url()
+    dest_repo_url = dest_sbox.file_protocol_repo_url()
   run_init(dest_repo_url, repo_url, source_prop_encoding)
 
   run_sync(dest_repo_url, repo_url,

Modified: subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py?rev=1665002&r1=1665001&r2=1665002&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/sandbox.py Sun Mar  8 14:36:25 2015
@@ -277,7 +277,7 @@ class Sandbox:
                                   temporary and 'TEMP' or 'PERM',
                                   parts[1])
 
-  def file_protocol_url(self):
+  def file_protocol_repo_url(self):
     """get a file:// url pointing to the repository"""
     return svntest.main.file_scheme_prefix + \
            svntest.wc.svn_uri_quote(