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 3FBF2138A87 for ; Sat, 21 Feb 2015 20:24:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9CD9E0904; Sat, 21 Feb 2015 20:24:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C972E0904 for ; Sat, 21 Feb 2015 20:24:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D2D23408A1 for ; Sat, 21 Feb 2015 20:24:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD76E12424 for ; Sat, 21 Feb 2015 20:24:13 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1424550193.c1489985f64443c4fba0b9661eee60f61e470d37.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/repoman X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c1489985f64443c4fba0b9661eee60f61e470d37 X-VCS-Branch: master Date: Sat, 21 Feb 2015 20:24:13 +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: b98da210-edf0-4f86-90f7-ccafb51d0461 X-Archives-Hash: 335185712ca7ed3de7b53fac13c432a3 commit: c1489985f64443c4fba0b9661eee60f61e470d37 Author: Zac Medico gentoo org> AuthorDate: Sat Feb 21 19:12:21 2015 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Feb 21 20:23:13 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c1489985 repoman: skip vcs calls for manifest modes (bug 540882) For manifest and manifest-check modes, there's no need to call the vcs unless --if-modified=y is enabled. X-Gentoo-Bug: 540882 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=540882 Acked-by: Brian Dolbec gentoo.org> --- bin/repoman | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index 16ea055..13c220d 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1187,7 +1187,10 @@ mychanged = [] mynew = [] myremoved = [] -if vcs == "cvs": +if (options.if_modified != "y" and + options.mode in ("manifest", "manifest-check")): + pass +elif vcs == "cvs": mycvstree = cvstree.getentries("./", recursive=1) mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./") mynew = cvstree.findnew(mycvstree, recursive=1, basedir="./")