Commits

Pierre-Yves David committed 1fef89f

tag: do not publish for local tag.

Comments (0)

Files changed (1)

 
         def _tag(self, names, node, *args, **kwargs):
             tagnode = o_tag(names, node, *args, **kwargs)
-            self.setstate(ST0, [node, tagnode])
+            if tagnode is not None: # do nothing for local one
+                self.setstate(ST0, [node, tagnode])
             return tagnode
 
         ### rollback support