summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-14 11:41:45 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-14 11:41:45 +0000
commit5b16f3e4d0729c3f2b1d65a49d3bcf33aa2a2901 (patch)
tree57cf05953f80092e495c07fc413589bd91cf75ec /bin/repoman
parent98b89decdf55410e47b0b7799a5d05090230ddd8 (diff)
downloadportage-5b16f3e4d0729c3f2b1d65a49d3bcf33aa2a2901.tar.gz
portage-5b16f3e4d0729c3f2b1d65a49d3bcf33aa2a2901.tar.bz2
portage-5b16f3e4d0729c3f2b1d65a49d3bcf33aa2a2901.zip
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
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman5
1 files changed, 5 insertions, 0 deletions
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()