From 3135a84e9baf380cb285989eb057e2d4e9f26e40 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 9 Mar 2010 11:19:51 -0500 Subject: [fedpkg-pull-build-chain] Pass options before args to fedpkg-vcs Otherwise option processing doesn't work. --- fedpkg-pull-build-chain | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fedpkg-pull-build-chain b/fedpkg-pull-build-chain index f72acff..d95991a 100755 --- a/fedpkg-pull-build-chain +++ b/fedpkg-pull-build-chain @@ -149,9 +149,10 @@ def main(): print "Running fedpkg-vcs" notify_state('upstream-vcs', { 'module': arg }) - args = ['fedpkg-vcs', 'pull-update', '--status-file=' + os.path.abspath('pull-status')] + args = ['fedpkg-vcs', '--status-file=' + os.path.abspath('pull-status')] if force or not last_build_succeeded: args.append('--force') + args.extend(['pull-retarget', 'HEAD']) try: check_call_verbose(args, stdout=sys.stdout, stderr=sys.stderr, cwd=release_dir) except subprocess.CalledProcessError, e: -- cgit