From owner-svn-ports-head@freebsd.org Tue Jun 26 05:54:16 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93C9C1011C9A; Tue, 26 Jun 2018 05:54:16 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 357D480E78; Tue, 26 Jun 2018 05:54:16 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 110D810468; Tue, 26 Jun 2018 05:54:16 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5Q5sFMf095266; Tue, 26 Jun 2018 05:54:15 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5Q5sFGF095265; Tue, 26 Jun 2018 05:54:15 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201806260554.w5Q5sFGF095265@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 26 Jun 2018 05:54:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473374 - in head/devel/statsvn: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/devel/statsvn: . files X-SVN-Commit-Revision: 473374 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 05:54:16 -0000 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);