repoview: drop duplicated lookup
authorPierre-Yves David <pierre-yves.david@fb.com>
Sun, 13 Apr 2014 16:39:31 -0400
changeset 21058 5152afc145e5
parent 21057 19ee4923a2b6
child 21059 d7e233df48e6
repoview: drop duplicated lookup We are already looking for local tags on the line above. We can safely drop this extra lookup.
mercurial/repoview.py
--- a/mercurial/repoview.py	Wed Apr 16 09:32:04 2014 -0700
+++ b/mercurial/repoview.py	Sun Apr 13 16:39:31 2014 -0400
@@ -41,7 +41,6 @@
         tagsmod.readlocaltags(repo.ui, repo, tags, {})
         if tags:
             blockers.extend(repo[t[0]].rev() for t in tags.values())
-        blockers.extend(repo[t].rev() for t in tags)
     return blockers
 
 def computehidden(repo):