Fixed default sorting order on hgwebdir.cgi.
authorScott Ehlert <ds@alliedmods.net>
Fri Dec 11 17:42:39 2009 -0600 (2009-12-11)
changeset 5fafb3ea5d807
parent 4 83eace28a7c2
child 6 bb7c01182512
Fixed default sorting order on hgwebdir.cgi.
hgwebdir.cgi
     1.1 --- a/hgwebdir.cgi	Fri Dec 11 17:25:09 2009 -0600
     1.2 +++ b/hgwebdir.cgi	Fri Dec 11 17:42:39 2009 -0600
     1.3 @@ -78,6 +78,8 @@
     1.4      if os.path.isdir(os.path.join(repo_path, '.hg')):
     1.5          repo_list.append(( item, repo_path ))
     1.6  
     1.7 +repo_list.sort()
     1.8 +
     1.9  application = hgwebdir(repo_list)
    1.10  application._baseurl = None
    1.11  extensions.loadall(application.ui)