Date: Sun, 16 Sep 2018 09:20:37 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479882 - head/Tools/scripts Message-ID: <201809160920.w8G9KbCf012361@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809160920.w8G9KbCf012361>