svn commit: r479882 - head/Tools/scripts
Rene Ladan
rene at FreeBSD.org
Sun Sep 16 09:20:38 UTC 2018
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
More information about the svn-ports-all
mailing list