changeset 957:305ab68c4394

hgweb: sort repository list
author mpm@selenic.com
date Fri, 19 Aug 2005 17:22:04 -0800
parents 16c8b36fd3c1
children d845a1f174bb
files mercurial/hgweb.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Fri Aug 19 17:01:11 2005 -0800
+++ b/mercurial/hgweb.py	Fri Aug 19 17:22:04 2005 -0800
@@ -850,7 +850,9 @@
 
         def entries(**map):
             parity = 0
-            for v,r in self.cp.items("paths"):
+            l = self.cp.items("paths")
+            l.sort()
+            for v,r in l:
                 cp2 = ConfigParser.SafeConfigParser()
                 cp2.read(os.path.join(r, ".hg", "hgrc"))