commit: c1489985f64443c4fba0b9661eee60f61e470d37 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sat Feb 21 19:12:21 2015 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> 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 <dolsen <AT> 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="./")
