From owner-svn-ports-all@freebsd.org Sun Sep 16 09:20:38 2018 Return-Path: Delivered-To: svn-ports-all@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 26ED1109C18A; Sun, 16 Sep 2018 09:20:38 +0000 (UTC) (envelope-from rene@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 CD388847EA; Sun, 16 Sep 2018 09:20:37 +0000 (UTC) (envelope-from rene@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 C83C320452; Sun, 16 Sep 2018 09:20:37 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8G9KbH8012362; Sun, 16 Sep 2018 09:20:37 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8G9KbCf012361; Sun, 16 Sep 2018 09:20:37 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201809160920.w8G9KbCf012361@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Sun, 16 Sep 2018 09:20:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479882 - head/Tools/scripts X-SVN-Group: ports-head X-SVN-Commit-Author: rene X-SVN-Commit-Paths: head/Tools/scripts X-SVN-Commit-Revision: 479882 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2018 09:20:38 -0000 Author: rene Date: Sun Sep 16 09:20:37 2018 New Revision: 479882 URL: https://svnweb.freebsd.org/changeset/ports/479882 Log: rmport: usability fixes: - only write the message to edit the log once - show the log itself instead of the temporary filename Modified: head/Tools/scripts/rmport Modified: head/Tools/scripts/rmport ============================================================================== --- head/Tools/scripts/rmport Sun Sep 16 09:14:45 2018 (r479881) +++ head/Tools/scripts/rmport Sun Sep 16 09:20:37 2018 (r479882) @@ -135,7 +135,7 @@ mkcodir() { log "creating temporary directory" d=`mktemp -d -t rmport` - touch ${d}/svnlog + echo "This is the commit message, please edit it." >> ${d}/svnlog log "created ${d}" echo "${d}" } @@ -371,8 +371,6 @@ append_Template() msg="${msg}: ${DEPRECATED}" fi - echo "This is the commit message, please edit it." >> ./svnlog - log "${catport}: adding entry to commit message template" echo "${msg}" >> ./svnlog @@ -405,7 +403,7 @@ commit() $EDITOR svnlog log "Your commit message is:" - echo svnlog + cat svnlog answer=`ask "Do you want to edit again your commit message?"` if [ "${answer}" = "y" ] ; then