mercurial/localrepo.py
changeset 22201 269688a398c4
parent 22080 37f46575d9c2
child 22296 650b5b6e75ed
--- a/mercurial/localrepo.py	Fri Aug 15 16:20:47 2014 +0200
+++ b/mercurial/localrepo.py	Fri Aug 15 04:37:46 2014 +0200
@@ -676,8 +676,7 @@
         if not self._tagscache.tagslist:
             l = []
             for t, n in self.tags().iteritems():
-                r = self.changelog.rev(n)
-                l.append((r, t, n))
+                l.append((self.changelog.rev(n), t, n))
             self._tagscache.tagslist = [(t, n) for r, t, n in sorted(l)]
 
         return self._tagscache.tagslist