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.
This commit is contained in:
Rene Ladan 2018-10-11 13:40:41 +00:00
parent 735f8df984
commit 10ad00012a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481824

View file

@ -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?"`