tags: avoid a pointless usage of revlog.nodemap
authorMatt Mackall <mpm@selenic.com>
Tue, 11 Jan 2011 17:09:06 -0600
changeset 13257 d1245ce817a8
parent 13256 996b95985c2f
child 13258 c2661863f16f
tags: avoid a pointless usage of revlog.nodemap
mercurial/tags.py
--- a/mercurial/tags.py	Tue Jan 11 17:06:07 2011 -0600
+++ b/mercurial/tags.py	Tue Jan 11 17:09:06 2011 -0600
@@ -99,9 +99,6 @@
         except TypeError:
             warn(_("node '%s' is not well formed") % nodehex)
             continue
-        if nodebin not in repo.changelog.nodemap:
-            # silently ignore as pull -r might cause this
-            continue
 
         # update filetags
         hist = []