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 2012/10/29 17:01:02 UTC
svn commit: r1403393 - /subversion/trunk/subversion/mod_dav_svn/version.c
Author: cmpilato
Date: Mon Oct 29 16:01:02 2012
New Revision: 1403393
URL: http://svn.apache.org/viewvc?rev=1403393&view=rev
Log:
* subversion/mod_dav_svn/version.c
(get_option): Comment tweak only.
Modified:
subversion/trunk/subversion/mod_dav_svn/version.c
Modified: subversion/trunk/subversion/mod_dav_svn/version.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/version.c?rev=1403393&r1=1403392&r2=1403393&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/version.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/version.c Mon Oct 29 16:01:02 2012
@@ -245,11 +245,17 @@ get_option(const dav_resource *resource,
DeltaV-free! If we're configured to advise this support, do so. */
if (resource->info->repos->v2_protocol)
{
- /* The list of Subversion's custom POSTs. You'll want to keep
- this in sync with the handling of these suckers in
- handle_post_request(). */
int i;
svn_version_t *master_version = dav_svn__get_master_version(r);
+
+ /* The list of Subversion's custom POSTs and which versions of
+ Subversion support them. We need this latter information
+ when acting as a WebDAV slave -- we don't want to claim
+ support for a POST type if the master server which will
+ actually have to handle it won't recognize it.
+
+ Keep this in sync with what's handled in handle_post_request().
+ */
struct posts_versions_t {
const char *post_name;
svn_version_t min_version;