Date: Thu, 11 Oct 2018 13:40:41 +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: r481824 - head/Tools/scripts Message-ID: <201810111340.w9BDefJ1090781@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Thu Oct 11 13:40:41 2018 New Revision: 481824 URL: https://svnweb.freebsd.org/changeset/ports/481824 Log: rmport: if the user edited the commit message, ask again afterwards. This is in line with asking for recreating the diffs and "fixes" the workflow. Modified: head/Tools/scripts/rmport Modified: head/Tools/scripts/rmport ============================================================================== --- head/Tools/scripts/rmport Thu Oct 11 13:40:25 2018 (r481823) +++ head/Tools/scripts/rmport Thu Oct 11 13:40:41 2018 (r481824) @@ -405,10 +405,13 @@ commit() log "Your commit message is:" cat svnlog - answer=`ask "Do you want to edit again your commit message?"` - if [ "${answer}" = "y" ] ; then - $EDITOR svnlog - fi + answer=y + while [ "${answer}" = "y" ] ; do + answer=`ask "Do you want to edit your commit message again?"` + if [ "${answer}" = "y" ] ; then + $EDITOR svnlog + fi + done answer=`ask "Do you want to commit now?"`
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810111340.w9BDefJ1090781>