Setting tag myplc-5.0-17
[build.git] / module-tools.py
index a1b628d..ba45bf2 100755 (executable)
@@ -643,7 +643,6 @@ that for other purposes than tagging""" % options.workdir
 
         elif self.repository.type == "git":
             if hasattr(self,'branch'):
-                print "to branch", self.branch
                 self.repository.to_branch(self.branch)
             elif hasattr(self,'tagname'):
                 self.repository.to_tag(self.tagname)
@@ -1238,6 +1237,9 @@ def modules_diff(first, second):
     diff = {}
 
     for module in first:
+        if module not in second: 
+            print "=== module %s missing in right-hand side ==="%module
+            continue
         if first[module]['tag_or_branch'] != second[module]['tag_or_branch']:
             diff[module] = (first[module]['tag_or_branch'], second[module]['tag_or_branch'])