merge with crew stable
authorMatt Mackall <mpm@selenic.com>
Fri, 27 Jul 2012 12:32:02 -0500
branchstable
changeset 17262 f62cac85ce79
parent 17260 e432fb4b4221 (current diff)
parent 17261 c0068b058fcd (diff)
child 17263 c4ebdc36c17e
merge with crew
--- 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)