equal
deleted
inserted
replaced
2125 |
2125 |
2126 def tagslist(self): |
2126 def tagslist(self): |
2127 '''return a list of tags ordered by revision''' |
2127 '''return a list of tags ordered by revision''' |
2128 if not self._tagscache.tagslist: |
2128 if not self._tagscache.tagslist: |
2129 l = [] |
2129 l = [] |
2130 for t, n in pycompat.iteritems(self.tags()): |
2130 for t, n in self.tags().items(): |
2131 l.append((self.changelog.rev(n), t, n)) |
2131 l.append((self.changelog.rev(n), t, n)) |
2132 self._tagscache.tagslist = [(t, n) for r, t, n in sorted(l)] |
2132 self._tagscache.tagslist = [(t, n) for r, t, n in sorted(l)] |
2133 |
2133 |
2134 return self._tagscache.tagslist |
2134 return self._tagscache.tagslist |
2135 |
2135 |