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 2017/12/11 21:18:30 UTC
svn commit: r1817837 - in /subversion/trunk: CHANGES
subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java
subversion/include/svn_version.h subversion/tests/cmdline/svntest/main.py
Author: julianfoad
Date: Mon Dec 11 21:18:29 2017
New Revision: 1817837
URL: http://svn.apache.org/viewvc?rev=1817837&view=rev
Log:
Increment the trunk version number, and introduce a new CHANGES
section for the upcoming 1.10.0 release.
* subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java,
subversion/include/svn_version.h (SVN_VER_MINOR),
subversion/tests/cmdline/svntest/main.py (SVN_VER_MINOR):
Increment version number.
* CHANGES: New section for 1.10.0.
Modified:
subversion/trunk/CHANGES
subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java
subversion/trunk/subversion/include/svn_version.h
subversion/trunk/subversion/tests/cmdline/svntest/main.py
Modified: subversion/trunk/CHANGES
URL: http://svn.apache.org/viewvc/subversion/trunk/CHANGES?rev=1817837&r1=1817836&r2=1817837&view=diff
==============================================================================
--- subversion/trunk/CHANGES (original)
+++ subversion/trunk/CHANGES Mon Dec 11 21:18:29 2017
@@ -1,3 +1,8 @@
+Version 1.11.0
+(?? ??? 20XX, from /branches/1.11.x)
+http://svn.apache.org/repos/asf/subversion/tags/1.11.0
+
+
Version 1.10.0
(?? ??? 2017, from /branches/1.10.x)
http://svn.apache.org/repos/asf/subversion/tags/1.10.0
Modified: subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java?rev=1817837&r1=1817836&r2=1817837&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java (original)
+++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java Mon Dec 11 21:18:29 2017
@@ -143,7 +143,7 @@ public class NativeResources
{
initNativeLibrary();
version = new Version();
- if (!version.isAtLeast(1, 10, 0))
+ if (!version.isAtLeast(1, 11, 0))
{
throw new LinkageError("Native library version must be at least " +
"1.10.0, but is only " + version);
Modified: subversion/trunk/subversion/include/svn_version.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_version.h?rev=1817837&r1=1817836&r2=1817837&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_version.h (original)
+++ subversion/trunk/subversion/include/svn_version.h Mon Dec 11 21:18:29 2017
@@ -61,7 +61,7 @@ extern "C" {
* Modify when new functionality is added or new interfaces are
* defined, but all changes are backward compatible.
*/
-#define SVN_VER_MINOR 10
+#define SVN_VER_MINOR 11
/**
* Patch number.
Modified: subversion/trunk/subversion/tests/cmdline/svntest/main.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/main.py?rev=1817837&r1=1817836&r2=1817837&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/main.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/main.py Mon Dec 11 21:18:29 2017
@@ -56,7 +56,7 @@ import svntest
from svntest import Failure
from svntest import Skip
-SVN_VER_MINOR = 10
+SVN_VER_MINOR = 11
######################################################################
#
Re: svn commit: r1817837 - in /subversion/trunk: CHANGES
subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java
subversion/include/svn_version.h subversion/tests/cmdline/svntest/main.py
Posted by Julian Foad <ju...@apache.org>.
Daniel Shahaf wrote:
> julianfoad@apache.org wrote on Mon, 11 Dec 2017 21:18 +0000:
>> Increment the trunk version number, and introduce a new CHANGES
>> section for the upcoming 1.10.0 release.
>> +++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java Mon Dec 11 21:18:29 2017
>> @@ -143,7 +143,7 @@ public class NativeResources
>> {
>> initNativeLibrary();
>> version = new Version();
>> - if (!version.isAtLeast(1, 10, 0))
>> + if (!version.isAtLeast(1, 11, 0))
>> {
>> throw new LinkageError("Native library version must be at least " +
>> "1.10.0, but is only " + version);
>
> The error message should be updated too.
r1817920.
> I don't have a javahl build env; does the following compile?
It does! Thanks. r1817921. Much better. Much more similar to the other
instances we have to update.
- Julian
> Index: subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java
> ===================================================================
> --- subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java (revision 1817844)
> +++ subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java (working copy)
> @@ -141,12 +141,15 @@
> */
> private static final void init()
> {
> + final int SVN_VER_MAJOR = 1;
> + final int SVN_VER_MINOR = 11;
> initNativeLibrary();
> version = new Version();
> - if (!version.isAtLeast(1, 11, 0))
> + if (!version.isAtLeast(SVN_VER_MAJOR, SVN_VER_MINOR, 0))
> {
> throw new LinkageError("Native library version must be at least " +
> - "1.10.0, but is only " + version);
> + SVN_VER_MAJOR + "." + SVN_VER_MINOR + ".0," +
> + "but is only " + version);
> }
>
> runtimeVersion = new RuntimeVersion();
>
Re: svn commit: r1817837 - in /subversion/trunk: CHANGES
subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java
subversion/include/svn_version.h
subversion/tests/cmdline/svntest/main.py
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
julianfoad@apache.org wrote on Mon, 11 Dec 2017 21:18 +0000:
> Increment the trunk version number, and introduce a new CHANGES
> section for the upcoming 1.10.0 release.
> +++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java Mon Dec 11 21:18:29 2017
> @@ -143,7 +143,7 @@ public class NativeResources
> {
> initNativeLibrary();
> version = new Version();
> - if (!version.isAtLeast(1, 10, 0))
> + if (!version.isAtLeast(1, 11, 0))
> {
> throw new LinkageError("Native library version must be at least " +
> "1.10.0, but is only " + version);
The error message should be updated too.
I don't have a javahl build env; does the following compile?
Index: subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java
===================================================================
--- subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java (revision 1817844)
+++ subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java (working copy)
@@ -141,12 +141,15 @@
*/
private static final void init()
{
+ final int SVN_VER_MAJOR = 1;
+ final int SVN_VER_MINOR = 11;
initNativeLibrary();
version = new Version();
- if (!version.isAtLeast(1, 11, 0))
+ if (!version.isAtLeast(SVN_VER_MAJOR, SVN_VER_MINOR, 0))
{
throw new LinkageError("Native library version must be at least " +
- "1.10.0, but is only " + version);
+ SVN_VER_MAJOR + "." + SVN_VER_MINOR + ".0," +
+ "but is only " + version);
}
runtimeVersion = new RuntimeVersion();
Re: svn commit: r1817837 - in /subversion/trunk: CHANGES
subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java
subversion/include/svn_version.h
subversion/tests/cmdline/svntest/main.py
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
julianfoad@apache.org wrote on Mon, 11 Dec 2017 21:18 +0000:
> Increment the trunk version number, and introduce a new CHANGES
> section for the upcoming 1.10.0 release.
> +++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java Mon Dec 11 21:18:29 2017
> @@ -143,7 +143,7 @@ public class NativeResources
> {
> initNativeLibrary();
> version = new Version();
> - if (!version.isAtLeast(1, 10, 0))
> + if (!version.isAtLeast(1, 11, 0))
> {
> throw new LinkageError("Native library version must be at least " +
> "1.10.0, but is only " + version);
The error message should be updated too.
I don't have a javahl build env; does the following compile?
Index: subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java
===================================================================
--- subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java (revision 1817844)
+++ subversion/bindings/javahl/src/org/apache/subversion/javahl/NativeResources.java (working copy)
@@ -141,12 +141,15 @@
*/
private static final void init()
{
+ final int SVN_VER_MAJOR = 1;
+ final int SVN_VER_MINOR = 11;
initNativeLibrary();
version = new Version();
- if (!version.isAtLeast(1, 11, 0))
+ if (!version.isAtLeast(SVN_VER_MAJOR, SVN_VER_MINOR, 0))
{
throw new LinkageError("Native library version must be at least " +
- "1.10.0, but is only " + version);
+ SVN_VER_MAJOR + "." + SVN_VER_MINOR + ".0," +
+ "but is only " + version);
}
runtimeVersion = new RuntimeVersion();