mercurial/scmwindows.py
changeset 45843 9ac96b9fa76e
parent 43956 1ccf340acf14
child 46094 224af78021de
--- a/mercurial/scmwindows.py	Sun Nov 08 20:12:32 2020 +0100
+++ b/mercurial/scmwindows.py	Tue Nov 03 09:56:02 2020 -0800
@@ -31,7 +31,7 @@
 
     def _processdir(progrcd):
         if os.path.isdir(progrcd):
-            for f, kind in util.listdir(progrcd):
+            for f, kind in sorted(util.listdir(progrcd)):
                 if f.endswith(b'.rc'):
                     rcpath.append(os.path.join(progrcd, f))