changeset 13257:d1245ce817a8

tags: avoid a pointless usage of revlog.nodemap
author Matt Mackall <mpm@selenic.com>
date Tue, 11 Jan 2011 17:09:06 -0600
parents 996b95985c2f
children c2661863f16f
files mercurial/tags.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 = []