subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@apache.org
Subject svn commit: r1393521 - in /subversion/trunk/subversion: include/svn_props.h tests/cmdline/svnlook_tests.py
Date Wed, 03 Oct 2012 14:51:36 GMT
Author: cmpilato
Date: Wed Oct  3 14:51:36 2012
New Revision: 1393521

URL: http://svn.apache.org/viewvc?rev=1393521&view=rev
Log:
Use "svn:txn:" as the namespace for ephemeral txnprops, not
"svn:txn-".  I was operating under this memory of Subversion having
trouble with colons in property names, but apparently that memory was
either obsolete or altogether bogus.

* subversion/include/svn_props.h
  (SVN_PROP_TXN_PREFIX): Use "txn:" instead of "txn-".

* subversion/tests/cmdline/svnlook_tests.py
  (test_txn_flag): Expect "svn:txn:..." instead of "svn:txn-..." now.

Modified:
    subversion/trunk/subversion/include/svn_props.h
    subversion/trunk/subversion/tests/cmdline/svnlook_tests.py

Modified: subversion/trunk/subversion/include/svn_props.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_props.h?rev=1393521&r1=1393520&r2=1393521&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_props.h (original)
+++ subversion/trunk/subversion/include/svn_props.h Wed Oct  3 14:51:36 2012
@@ -551,7 +551,7 @@ svn_prop_name_is_valid(const char *prop_
  */
 
 /** The prefix used for all (ephemeral) transaction properties. */
-#define SVN_PROP_TXN_PREFIX  SVN_PROP_PREFIX "txn-"
+#define SVN_PROP_TXN_PREFIX  SVN_PROP_PREFIX "txn:"
 
 /** Identifies the client version compability level.  For clients
  * compiled against Subversion libraries, this is @c SVN_VER_NUMBER.

Modified: subversion/trunk/subversion/tests/cmdline/svnlook_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnlook_tests.py?rev=1393521&r1=1393520&r2=1393521&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnlook_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnlook_tests.py Wed Oct  3 14:51:36 2012
@@ -701,11 +701,11 @@ fp.close()"""
                     '  svn:check-locks\n', # internal prop, not really expected
                     '  bogus_rev_prop\n',
                     '  svn:date\n',
-                    '  svn:txn-client-compat-version\n',
+                    '  svn:txn:client-compat-version\n',
                     ]
   # ra_dav and ra_svn add the user-agent ephemeral property
   if svntest.main.is_ra_type_dav() or svntest.main.is_ra_type_svn():
-    expected_data.append('  svn:txn-user-agent\n')
+    expected_data.append('  svn:txn:user-agent\n')
   verify_logfile(logfilepath, svntest.verify.UnorderedOutput(expected_data))
 
 def property_delete(sbox):



Mime
View raw message