changeset 21058:5152afc145e5

repoview: drop duplicated lookup We are already looking for local tags on the line above. We can safely drop this extra lookup.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sun, 13 Apr 2014 16:39:31 -0400
parents 19ee4923a2b6
children d7e233df48e6
files mercurial/repoview.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):