subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1294132 - /subversion/trunk/subversion/tests/cmdline/svntest/main.py
Date Mon, 27 Feb 2012 12:36:10 GMT
Author: danielsh
Date: Mon Feb 27 12:36:10 2012
New Revision: 1294132

URL: http://svn.apache.org/viewvc?rev=1294132&view=rev
Log:
Add comment.

* subversion/tests/cmdline/svntest/main.py
  (create_repos): Note a non-obvious, but DTRTing, behaviour.

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

Modified: subversion/trunk/subversion/tests/cmdline/svntest/main.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/main.py?rev=1294132&r1=1294131&r2=1294132&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/main.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/main.py Mon Feb 27 12:36:10 2012
@@ -804,6 +804,9 @@ def create_repos(path, minor_version = N
                 "realm = svntest\n[sasl]\nuse-sasl = true\n")
   else:
     file_append(get_svnserve_conf_file_path(path), "password-db = passwd\n")
+    # This actually creates TWO [users] sections in the file (one of them is
+    # uncommented in `svnadmin create`'s template), so we exercise the .ini
+    # files reading code's handling of duplicates, too. :-)
     file_append(os.path.join(path, "conf", "passwd"),
                 "[users]\njrandom = rayjandom\njconstant = rayjandom\n");
 



Mime
View raw message