From 5b16f3e4d0729c3f2b1d65a49d3bcf33aa2a2901 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 14 Dec 2007 11:41:45 +0000 Subject: [PATCH] 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 --- bin/repoman | 5 +++++ 1 file changed, 5 insertions(+) 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() -- 2.26.2