Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2018 05:54:15 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473374 - in head/devel/statsvn: . files
Message-ID:  <201806260554.w5Q5sFGF095265@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue Jun 26 05:54:15 2018
New Revision: 473374
URL: https://svnweb.freebsd.org/changeset/ports/473374

Log:
  devel/statsvn: Fix runtime after the update of devel/subversion to 1.10.0
  
  It tries to check that SVN >= 1.3.0 but the check is broken with
  version numbers like 1.10.0.  We will never have SVN < 1.3.0 again
  so add a patch to skip the version check altogether.
  
  "Subversion binary is incorrect version. Found: 1.10.0, required: 1.3.0"
  
  PR:		229325
  Reported by:	kensaku.masuda@gmail.com

Added:
  head/devel/statsvn/files/patch-src_net_sf_statsvn_Main.java   (contents, props changed)
Modified:
  head/devel/statsvn/Makefile

Modified: head/devel/statsvn/Makefile
==============================================================================
--- head/devel/statsvn/Makefile	Tue Jun 26 05:23:27 2018	(r473373)
+++ head/devel/statsvn/Makefile	Tue Jun 26 05:54:15 2018	(r473374)
@@ -3,7 +3,7 @@
 
 PORTNAME=	statsvn
 PORTVERSION=	0.7.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	devel java
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-${PORTVERSION}-source

Added: head/devel/statsvn/files/patch-src_net_sf_statsvn_Main.java
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/statsvn/files/patch-src_net_sf_statsvn_Main.java	Tue Jun 26 05:54:15 2018	(r473374)
@@ -0,0 +1,17 @@
+Skip SVN version check which doesn't work anymore with SVN 1.10.0
+
+--- src/net/sf/statsvn/Main.java.orig	2018-06-25 06:52:30 UTC
++++ src/net/sf/statsvn/Main.java
+@@ -105,12 +105,6 @@ public final class Main {
+     public static void generate() {
+         try {
+             RepositoryFileManager manager = createRepoManager();
+-            String version = manager.getProcessor().getVersionProcessor().checkSvnVersionSufficient();
+-            final boolean isNewerDiffPossible = manager.getProcessor().getVersionProcessor().checkDiffPerRevPossible(version);
+-            // fall-back to older option.
+-            if (!isNewerDiffPossible) {
+-                SvnConfigurationOptions.setLegacyDiff(true);
+-            }
+ 
+             manager.getProcessor().getInfoProcessor().checkRepoRootAvailable();
+             generateDefaultHTMLSuite(manager);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806260554.w5Q5sFGF095265>