You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ge...@apache.org on 2019/03/06 22:23:43 UTC
[incubator-netbeans] branch master updated: Removing the version
suffix (if present) to allow using dev versions of the command line SVN
client.
This is an automated email from the ASF dual-hosted git repository.
geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 4f45b42 Removing the version suffix (if present) to allow using dev versions of the command line SVN client.
new 809f349 Merge pull request #1156 from jan-tosovsky-cz/NETBEANS-1936
4f45b42 is described below
commit 4f45b424ce9ae504ee3e7a0b94b8e6b39e2d9fe6
Author: jan-tosovsky-cz <ja...@gmail.com>
AuthorDate: Wed Mar 6 23:07:29 2019 +0100
Removing the version suffix (if present) to allow using dev versions of the command line SVN client.
---
.../netbeans/modules/subversion/client/cli/commands/VersionCommand.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ide/subversion/src/org/netbeans/modules/subversion/client/cli/commands/VersionCommand.java b/ide/subversion/src/org/netbeans/modules/subversion/client/cli/commands/VersionCommand.java
index 81ef659..aa900ec 100644
--- a/ide/subversion/src/org/netbeans/modules/subversion/client/cli/commands/VersionCommand.java
+++ b/ide/subversion/src/org/netbeans/modules/subversion/client/cli/commands/VersionCommand.java
@@ -84,7 +84,7 @@ public class VersionCommand extends SvnCommand {
if (pos > -1) {
String vString = string.substring(pos + 9);
Subversion.LOG.log(Level.INFO, "Commandline client version: {0}", vString);
- Version version = Version.parse(vString);
+ Version version = Version.parse(vString.replace("-dev", ""));
if (version.lowerThan(VERSION_15)) {
unsupportedVersion = true;
return false;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists