From 88f198beedaf47a7cb59b8d50f41883ebefc86ec Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Sun, 16 Sep 2018 09:20:37 +0000 Subject: rmport: usability fixes: - only write the message to edit the log once - show the log itself instead of the temporary filename --- Tools/scripts/rmport | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Tools') diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport index 2422a92c44d8..734247676e38 100755 --- a/Tools/scripts/rmport +++ b/Tools/scripts/rmport @@ -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 -- cgit v1.2.3