aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-10-11 13:40:41 +0000
committerRene Ladan <rene@FreeBSD.org>2018-10-11 13:40:41 +0000
commit10ad00012aadc9024cffc451fc72c74cba797429 (patch)
tree8045f012305ac10595ee76a75902cf77de138153 /Tools
parent735f8df984f7e0b43b192c0c4c256876f9351978 (diff)
downloadports-10ad00012aadc9024cffc451fc72c74cba797429.tar.gz
ports-10ad00012aadc9024cffc451fc72c74cba797429.zip
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.
Notes
Notes: svn path=/head/; revision=481824
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/rmport11
1 files changed, 7 insertions, 4 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index 734247676e38..61738ab8aa57 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -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?"`