From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 17B651381F3 for ; Mon, 2 Sep 2013 12:27:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A8C9E0E94; Mon, 2 Sep 2013 12:27:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5394E0E94 for ; Mon, 2 Sep 2013 12:27:40 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68F4033EDB0 for ; Mon, 2 Sep 2013 12:27:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 307E8E545E for ; Mon, 2 Sep 2013 12:27:37 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1378124729.0f45bb772f6f80766f54f6e18ac3fbef9b7b20d3.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/argparser.py roverlay/defaultscript.py X-VCS-Directories: roverlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 0f45bb772f6f80766f54f6e18ac3fbef9b7b20d3 X-VCS-Branch: master Date: Mon, 2 Sep 2013 12:27:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f4556b80-dffb-4a4e-99e6-c23f8eae9912 X-Archives-Hash: 26ee700e29740bcb885a76d39c04584b commit: 0f45bb772f6f80766f54f6e18ac3fbef9b7b20d3 Author: André Erdmann mailerd de> AuthorDate: Mon Sep 2 12:25:29 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Mon Sep 2 12:25:29 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=0f45bb77 fix --sync-imports --- roverlay/argparser.py | 2 +- roverlay/defaultscript.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/roverlay/argparser.py b/roverlay/argparser.py index def3076..e1ded67 100644 --- a/roverlay/argparser.py +++ b/roverlay/argparser.py @@ -415,7 +415,7 @@ class RoverlayArgumentParserBase ( roverlay.argutil.ArgumentParserProxy ): arg = self.setup_remote_minimal() arg ( - '--sync-imports', dest='sync_imports', + '--sync-imports', dest='sync_imported', default=argparse.SUPPRESS, flags=self.ARG_WITH_DEFAULT|self.ARG_OPT_IN, help=( 'allow fetching of source files for imported ebuilds even if ' diff --git a/roverlay/defaultscript.py b/roverlay/defaultscript.py index 6e2443c..5f47e39 100644 --- a/roverlay/defaultscript.py +++ b/roverlay/defaultscript.py @@ -266,6 +266,8 @@ def run_overlay_create ( env ): ebuild_import_nosync = env.option ( 'sync_imported' ) if ebuild_import_nosync is None: ebuild_import_nosync = env.config.get_or_fail ( 'nosync' ) + else: + ebuild_import_nosync = not ebuild_import_nosync overlay_creator.overlay.import_ebuilds (