From: Zac Medico Date: Fri, 14 Dec 2007 11:41:45 +0000 (-0000) Subject: Prompt the user before letting the editor X-Git-Tag: v2.2_pre1~179 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b16f3e4d0729c3f2b1d65a49d3bcf33aa2a2901;p=portage.git Prompt the user before letting the editor take over the screen so there is an opportunity to review any QA warnings. svn path=/main/trunk/; revision=8923 --- diff --git a/bin/repoman b/bin/repoman index e0662a517..461b0bc9f 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1794,6 +1794,11 @@ else: try: editor = os.environ.get("EDITOR") if editor and editor_is_executable(editor): + # Prompt the user before letting the editor + # take over the screen so there is an + # opportunity to review any QA warnings. + print "Press \"Enter\" to launch the editor for a commit message, or Ctrl-c to abort." + sys.stdin.readline() commitmessage = get_commit_message_with_editor(editor) else: commitmessage = get_commit_message_with_stdin()