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/12/13 21:23:55 UTC

svn commit: r1421490 - in /subversion/trunk/subversion: include/svn_config.h libsvn_ra_serf/serf.c libsvn_subr/config_file.c

Author: cmpilato
Date: Thu Dec 13 20:23:54 2012
New Revision: 1421490

URL: http://svn.apache.org/viewvc?rev=1421490&view=rev
Log:
Rename the recently added 'bulk-updates' configuration option to
'http-bulk-updates'.

* subversion/libsvn_subr/config_file.c
  (svn_config_ensure): Rename 'bulk-updates' option to
    'http-bulk-updates', and clean up the formatting a bit.

* subversion/include/svn_config.h
  (SVN_CONFIG_OPTION_HTTP_BULK_UPDATES): Rename from
    SVN_CONFIG_OPTION_BULK_UPDATES, and tweak the value accordingly.

* subversion/libsvn_ra_serf/serf.c
  (load_config): Track renamed #define.

Modified:
    subversion/trunk/subversion/include/svn_config.h
    subversion/trunk/subversion/libsvn_ra_serf/serf.c
    subversion/trunk/subversion/libsvn_subr/config_file.c

Modified: subversion/trunk/subversion/include/svn_config.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_config.h?rev=1421490&r1=1421489&r2=1421490&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_config.h (original)
+++ subversion/trunk/subversion/include/svn_config.h Thu Dec 13 20:23:54 2012
@@ -87,7 +87,7 @@ typedef struct svn_config_t svn_config_t
                                           "store-ssl-client-cert-pp-plaintext"
 #define SVN_CONFIG_OPTION_USERNAME                  "username"
 /** @since New in 1.8. */
-#define SVN_CONFIG_OPTION_BULK_UPDATES              "bulk-updates"
+#define SVN_CONFIG_OPTION_HTTP_BULK_UPDATES         "http-bulk-updates"
 
 #define SVN_CONFIG_CATEGORY_CONFIG          "config"
 #define SVN_CONFIG_SECTION_AUTH                 "auth"

Modified: subversion/trunk/subversion/libsvn_ra_serf/serf.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/serf.c?rev=1421490&r1=1421489&r2=1421490&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/serf.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/serf.c Thu Dec 13 20:23:54 2012
@@ -222,7 +222,7 @@ load_config(svn_ra_serf__session_t *sess
      to skelta updates. */
   SVN_ERR(svn_config_get_bool(config, &session->bulk_updates,
                               SVN_CONFIG_SECTION_GLOBAL,
-                              SVN_CONFIG_OPTION_BULK_UPDATES,
+                              SVN_CONFIG_OPTION_HTTP_BULK_UPDATES,
                               FALSE));
 
   if (config)
@@ -265,7 +265,7 @@ load_config(svn_ra_serf__session_t *sess
       /* Load the group bulk updates flag. */
       SVN_ERR(svn_config_get_bool(config, &session->bulk_updates,
                                   server_group,
-                                  SVN_CONFIG_OPTION_BULK_UPDATES,
+                                  SVN_CONFIG_OPTION_HTTP_BULK_UPDATES,
                                   FALSE));
     }
 

Modified: subversion/trunk/subversion/libsvn_subr/config_file.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/config_file.c?rev=1421490&r1=1421489&r2=1421490&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/config_file.c (original)
+++ subversion/trunk/subversion/libsvn_subr/config_file.c Thu Dec 13 20:23:54 2012
@@ -807,10 +807,9 @@ svn_config_ensure(const char *config_dir
         "###   http-library               Which library to use for http/https"
                                                                              NL
         "###                              connections."                      NL
-        "###   bulk-updates               Whether to request bulk update" NL
-        "###                              responses, or fetch each file in "
-                                                                             NL
-        "###                              an individual request. "           NL
+        "###   http-bulk-updates          Whether to request bulk update"    NL
+        "###                              responses or to fetch each file"   NL
+        "###                              in an individual request. "        NL
         "###   store-passwords            Specifies whether passwords used"  NL
         "###                              to authenticate against a"         NL
         "###                              Subversion server may be cached"   NL