mercurial/localrepo.py
changeset 40745 300f8564220f
parent 40729 c93d046d4300
child 40751 41b6245c3fc4
--- a/mercurial/localrepo.py	Tue Nov 20 10:46:20 2018 +0000
+++ b/mercurial/localrepo.py	Tue Nov 20 10:38:15 2018 +0000
@@ -1417,10 +1417,11 @@
             tags, tt = self._findtags()
         else:
             tags = self._tagscache.tags
+        rev = self.changelog.rev
         for k, v in tags.iteritems():
             try:
                 # ignore tags to unknown nodes
-                self.changelog.rev(v)
+                rev(v)
                 t[k] = v
             except (error.LookupError, ValueError):
                 pass