mercurial/hgweb/webcommands.py
changeset 13922 b8dd2e95b0ca
parent 13905 08d49b6b8d32
child 13923 2176c5babd53
--- a/mercurial/hgweb/webcommands.py	Sun Apr 10 06:37:20 2011 +0900
+++ b/mercurial/hgweb/webcommands.py	Sun Apr 10 10:01:37 2011 +0900
@@ -393,12 +393,11 @@
 
 def bookmarks(web, req, tmpl):
     i = web.repo._bookmarks.items()
-    i.reverse()
     parity = paritygen(web.stripecount)
 
     def entries(notip=False, limit=0, **map):
         count = 0
-        for k, n in i:
+        for k, n in sorted(i):
             if notip and k == "tip":
                 continue
             if limit > 0 and count >= limit: