You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2022/02/26 17:10:28 UTC

svn commit: r1898446 - /subversion/trunk/subversion/tests/cmdline/svntest/main.py

Author: danielsh
Date: Sat Feb 26 17:10:28 2022
New Revision: 1898446

URL: http://svn.apache.org/viewvc?rev=1898446&view=rev
Log:
multi-wc-format: tests: Correct an error message.

* subversion/tests/cmdline/svntest/main.py
  (wc_format): Don't mention the name of options.wc_format_version since
    the value might be something else.

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=1898446&r1=1898445&r2=1898446&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/main.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/main.py Sat Feb 26 17:10:28 2022
@@ -1763,8 +1763,7 @@ def wc_format(ver=None):
     return 32
   if minor >= 8 and minor <= 14:
     return 31
-  raise Exception("Unrecognized wc_format_version '%s'" %
-                  options.wc_format_version)
+  raise Exception("Unrecognized version number '%s'" % (ver,))
 
 
 ######################################################################