1 |
For manifest and manifest-check modes, there's no need to call the vcs |
2 |
unless --if-modified=y is enabled. |
3 |
|
4 |
X-Gentoo-Bug: 540882 |
5 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=540882 |
6 |
--- |
7 |
bin/repoman | 5 ++++- |
8 |
1 file changed, 4 insertions(+), 1 deletion(-) |
9 |
|
10 |
diff --git a/bin/repoman b/bin/repoman |
11 |
index 16ea055..13c220d 100755 |
12 |
--- a/bin/repoman |
13 |
+++ b/bin/repoman |
14 |
@@ -1187,7 +1187,10 @@ mychanged = [] |
15 |
mynew = [] |
16 |
myremoved = [] |
17 |
|
18 |
-if vcs == "cvs": |
19 |
+if (options.if_modified != "y" and |
20 |
+ options.mode in ("manifest", "manifest-check")): |
21 |
+ pass |
22 |
+elif vcs == "cvs": |
23 |
mycvstree = cvstree.getentries("./", recursive=1) |
24 |
mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./") |
25 |
mynew = cvstree.findnew(mycvstree, recursive=1, basedir="./") |
26 |
-- |
27 |
2.0.5 |