changeset 17262:f62cac85ce79 stable

merge with crew
author Matt Mackall <mpm@selenic.com>
date Fri, 27 Jul 2012 12:32:02 -0500
parents e432fb4b4221 (current diff) c0068b058fcd (diff)
children c4ebdc36c17e
files
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Tue Jun 05 17:00:13 2012 -0700
+++ b/mercurial/hgweb/webcommands.py	Fri Jul 27 12:32:02 2012 -0500
@@ -394,8 +394,7 @@
                 branches=webutil.nodebranchdict(web.repo, ctx))
 
 def tags(web, req, tmpl):
-    i = web.repo.tagslist()
-    i.reverse()
+    i = reversed(web.repo.tagslist())
     parity = paritygen(web.stripecount)
 
     def entries(notip=False, limit=0, **map):
@@ -466,8 +465,7 @@
                 latestentry=lambda **x: entries(1, **x))
 
 def summary(web, req, tmpl):
-    i = web.repo.tagslist()
-    i.reverse()
+    i = reversed(web.repo.tagslist())
 
     def tagentries(**map):
         parity = paritygen(web.stripecount)