From 656562dd40ea1487dd93a565f8f2f87040555b42 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 25 Dec 2011 12:05:08 -0800 Subject: repoman: later --ask prompt for bug #395995 --- bin/repoman | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index 5924ba9ef..5fc2de00b 100755 --- a/bin/repoman +++ b/bin/repoman @@ -2443,10 +2443,6 @@ else: commitmessage += ", RepoMan options: --force" commitmessage += ")" - if options.ask and userquery('Commit changes?', True) != 'Yes': - print("* aborting commit.") - sys.exit(1) - if options.echangelog in ('y', 'force'): logging.info("checking for unmodified ChangeLog files") committer_name = utilities.get_committer_name(env=repoman_settings) @@ -2570,6 +2566,10 @@ else: logging.info("myupdates: %s", myupdates) logging.info("myheaders: %s", myheaders) + if options.ask and userquery('Commit changes?', True) != 'Yes': + print("* aborting commit.") + sys.exit(1) + # Handle the case where committed files have keywords which # will change and need a priming commit before the Manifest # can be committed. -- cgit v1.2.3-1-g7c22