summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-14 11:45:37 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-14 11:45:37 +0000
commitd9bcfb71cc43b2aa4221962fd89a5075da44d0b1 (patch)
treeb61de4262d265127207a530101926cf16feb4c46 /bin/repoman
parent5c0f2d3feed76325c510c70a094dfd1c90700433 (diff)
downloadportage-d9bcfb71cc43b2aa4221962fd89a5075da44d0b1.tar.gz
portage-d9bcfb71cc43b2aa4221962fd89a5075da44d0b1.tar.bz2
portage-d9bcfb71cc43b2aa4221962fd89a5075da44d0b1.zip
Prompt the user before letting the editor
take over the screen so there is an opportunity to review any QA warnings. (trunk r8923) svn path=/main/branches/2.1.2/; revision=8924
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 74d64b9c5..ec3f99ceb 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1975,6 +1975,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()