You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2014/12/10 17:53:40 UTC

svn commit: r1644475 - in /subversion/branches/1.7.x-r1643074/subversion: include/private/svn_repos_private.h include/svn_repos.h libsvn_repos/load-fs-vtable.c tests/libsvn_repos/repos-test.c

Author: julianfoad
Date: Wed Dec 10 16:53:40 2014
New Revision: 1644475

URL: http://svn.apache.org/r1644475
Log:
On the '1.7.x-r1643074' branch: To avoid a swig-rb bindings failure,
define a private constant in a different way.

Modified:
    subversion/branches/1.7.x-r1643074/subversion/include/private/svn_repos_private.h
    subversion/branches/1.7.x-r1643074/subversion/include/svn_repos.h
    subversion/branches/1.7.x-r1643074/subversion/libsvn_repos/load-fs-vtable.c
    subversion/branches/1.7.x-r1643074/subversion/tests/libsvn_repos/repos-test.c

Modified: subversion/branches/1.7.x-r1643074/subversion/include/private/svn_repos_private.h
URL: http://svn.apache.org/viewvc/subversion/branches/1.7.x-r1643074/subversion/include/private/svn_repos_private.h?rev=1644475&r1=1644474&r2=1644475&view=diff
==============================================================================
--- subversion/branches/1.7.x-r1643074/subversion/include/private/svn_repos_private.h (original)
+++ subversion/branches/1.7.x-r1643074/subversion/include/private/svn_repos_private.h Wed Dec 10 16:53:40 2014
@@ -79,6 +79,11 @@ svn_repos__fs_type(const char **fs_type,
                    const char *repos_path,
                    apr_pool_t *pool);
 
+/* A private addition to svn_repos_notify_warning_t. */
+#define svn_repos__notify_warning_invalid_mergeinfo \
+    ((svn_repos_notify_warning_t)(-1))
+
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */

Modified: subversion/branches/1.7.x-r1643074/subversion/include/svn_repos.h
URL: http://svn.apache.org/viewvc/subversion/branches/1.7.x-r1643074/subversion/include/svn_repos.h?rev=1644475&r1=1644474&r2=1644475&view=diff
==============================================================================
--- subversion/branches/1.7.x-r1643074/subversion/include/svn_repos.h (original)
+++ subversion/branches/1.7.x-r1643074/subversion/include/svn_repos.h Wed Dec 10 16:53:40 2014
@@ -264,10 +264,7 @@ typedef enum svn_repos_notify_warning_t
    * @see svn_fs.h:"Directory entry names and directory paths" */
   /* ### TODO(doxygen): make that a proper doxygen link */
   /* See svn_fs__path_valid(). */
-  svn_repos_notify_warning_invalid_fspath,
-
-  /* Found invalid mergeinfo */
-  svn_repos__notify_warning_invalid_mergeinfo
+  svn_repos_notify_warning_invalid_fspath
 
 } svn_repos_notify_warning_t;
 

Modified: subversion/branches/1.7.x-r1643074/subversion/libsvn_repos/load-fs-vtable.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.7.x-r1643074/subversion/libsvn_repos/load-fs-vtable.c?rev=1644475&r1=1644474&r2=1644475&view=diff
==============================================================================
--- subversion/branches/1.7.x-r1643074/subversion/libsvn_repos/load-fs-vtable.c (original)
+++ subversion/branches/1.7.x-r1643074/subversion/libsvn_repos/load-fs-vtable.c Wed Dec 10 16:53:40 2014
@@ -39,6 +39,7 @@
 
 #include <apr_lib.h>
 
+#include "private/svn_repos_private.h"
 #include "private/svn_fspath.h"
 #include "private/svn_dep_compat.h"
 #include "private/svn_mergeinfo_private.h"

Modified: subversion/branches/1.7.x-r1643074/subversion/tests/libsvn_repos/repos-test.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.7.x-r1643074/subversion/tests/libsvn_repos/repos-test.c?rev=1644475&r1=1644474&r2=1644475&view=diff
==============================================================================
--- subversion/branches/1.7.x-r1643074/subversion/tests/libsvn_repos/repos-test.c (original)
+++ subversion/branches/1.7.x-r1643074/subversion/tests/libsvn_repos/repos-test.c Wed Dec 10 16:53:40 2014
@@ -39,6 +39,8 @@
 
 #include "dir-delta-editor.h"
 
+#include "private/svn_repos_private.h"
+
 /* Used to terminate lines in large multi-line string literals. */
 #define NL APR_EOL_STR