You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by cm...@apache.org on 2013/03/19 15:14:52 UTC

svn commit: r1458301 - /subversion/trunk/subversion/include/svn_dav.h

Author: cmpilato
Date: Tue Mar 19 14:14:52 2013
New Revision: 1458301

URL: http://svn.apache.org/r1458301
Log:
* subversion/include/svn_dav.h
  (SVN_DAV_NS_DAV_SVN_GET_FILE_REVS_REVERSE): Spell out "reverse" in
    the string token value.  "rvrs" makes me think of the HTTPv2
    revision root (rvr) URI space.  (Besides, the savings of 3
    characters hardly seems worth the imprecision.)

Modified:
    subversion/trunk/subversion/include/svn_dav.h

Modified: subversion/trunk/subversion/include/svn_dav.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_dav.h?rev=1458301&r1=1458300&r2=1458301&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_dav.h (original)
+++ subversion/trunk/subversion/include/svn_dav.h Tue Mar 19 14:14:52 2013
@@ -349,7 +349,7 @@ extern "C" {
  * a reversed fetch of file versions.
  * @since New in 1.8. */
 #define SVN_DAV_NS_DAV_SVN_GET_FILE_REVS_REVERSE\
-            SVN_DAV_PROP_NS_DAV "svn/get-file-revs-rvrs"
+            SVN_DAV_PROP_NS_DAV "svn/get-file-revs-reverse"
 
 
 /** @} */



Re: svn commit: r1458301 - /subversion/trunk/subversion/include/svn_dav.h

Posted by "C. Michael Pilato" <cm...@collab.net>.
On 03/19/2013 07:47 PM, Bert Huijben wrote:
> This makes the total string to long according to the maximum defined
> length in the documentation somewhere. (62 or 64 if I remember
> correctly?)
> 
> It won't break Subversion, but it might break some other WEBDAV clients. 
> (I think you were the one adding that comment)

I did some digging around, and it turns out that it's Web Folders, and a
63-character limitation.

In r1458607, I've again changed the header to something
comprehensible-yet-shorter, and added a WARNING block to the header file
that points out this limitation.

Thanks for catching that extremely subtle bug introduction.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development


RE: svn commit: r1458301 - /subversion/trunk/subversion/include/svn_dav.h

Posted by Bert Huijben <be...@qqmail.nl>.

> -----Original Message-----
> From: cmpilato@apache.org [mailto:cmpilato@apache.org]
> Sent: dinsdag 19 maart 2013 07:15
> To: commits@subversion.apache.org
> Subject: svn commit: r1458301 -
> /subversion/trunk/subversion/include/svn_dav.h
> 
> Author: cmpilato
> Date: Tue Mar 19 14:14:52 2013
> New Revision: 1458301
> 
> URL: http://svn.apache.org/r1458301
> Log:
> * subversion/include/svn_dav.h
>   (SVN_DAV_NS_DAV_SVN_GET_FILE_REVS_REVERSE): Spell out "reverse"
> in
>     the string token value.  "rvrs" makes me think of the HTTPv2
>     revision root (rvr) URI space.  (Besides, the savings of 3
>     characters hardly seems worth the imprecision.)

This makes the total string to long according to the maximum defined length in the documentation somewhere. (62 or 64 if I remember correctly?)

It won't break Subversion, but it might break some other WEBDAV clients.
(I think you were the one adding that comment)

	Bert


RE: svn commit: r1458301 - /subversion/trunk/subversion/include/svn_dav.h

Posted by Bert Huijben <be...@qqmail.nl>.

> -----Original Message-----
> From: cmpilato@apache.org [mailto:cmpilato@apache.org]
> Sent: dinsdag 19 maart 2013 07:15
> To: commits@subversion.apache.org
> Subject: svn commit: r1458301 -
> /subversion/trunk/subversion/include/svn_dav.h
> 
> Author: cmpilato
> Date: Tue Mar 19 14:14:52 2013
> New Revision: 1458301
> 
> URL: http://svn.apache.org/r1458301
> Log:
> * subversion/include/svn_dav.h
>   (SVN_DAV_NS_DAV_SVN_GET_FILE_REVS_REVERSE): Spell out "reverse"
> in
>     the string token value.  "rvrs" makes me think of the HTTPv2
>     revision root (rvr) URI space.  (Besides, the savings of 3
>     characters hardly seems worth the imprecision.)

This makes the total string to long according to the maximum defined length in the documentation somewhere. (62 or 64 if I remember correctly?)

It won't break Subversion, but it might break some other WEBDAV clients.
(I think you were the one adding that comment)

	Bert