mercurial/hgweb.py
changeset 957 305ab68c4394
parent 956 16c8b36fd3c1
child 964 3f37720e7dc7
--- a/mercurial/hgweb.py
+++ b/mercurial/hgweb.py
@@ -850,7 +850,9 @@ class hgwebdir:
 
         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"))