mercurial/scmposix.py
changeset 45843 9ac96b9fa76e
parent 43554 9f70512ae2cf
child 48966 6000f5b25c9b
--- a/mercurial/scmposix.py	Sun Nov 08 20:12:32 2020 +0100
+++ b/mercurial/scmposix.py	Tue Nov 03 09:56:02 2020 -0800
@@ -27,7 +27,7 @@
         rcs.extend(
             [
                 os.path.join(rcdir, f)
-                for f, kind in util.listdir(rcdir)
+                for f, kind in sorted(util.listdir(rcdir))
                 if f.endswith(b".rc")
             ]
         )