Mercurial > evolve
changeset 31:1fef89f56588
tag: do not publish for local tag.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Fri, 08 Jul 2011 18:42:28 +0200 |
parents | a2189159e92f |
children | c27491be4431 |
files | states.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/states.py Thu Jul 07 13:42:47 2011 +0200 +++ b/states.py Fri Jul 08 18:42:28 2011 +0200 @@ -400,7 +400,8 @@ 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