changeset 51500:eb11153c1698 stable

rust-status: sort the failed matches when printing them This was making the tests flaky after the recent patch¹ that opened up more of the code to the Rust-augmented status. [1] 865efc020c3355dca1cbaa35db80600009c01dd5
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 10 Jun 2024 10:59:44 +0200
parents 6ec4c745c598
children 429d57227e7f 513597087b89
files mercurial/dirstate.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstate.py	Tue May 07 15:15:41 2024 +0400
+++ b/mercurial/dirstate.py	Mon Jun 10 10:59:44 2024 +0200
@@ -1597,7 +1597,7 @@
                         )
                     )
 
-        for fn, message in bad:
+        for fn, message in sorted(bad):
             matcher.bad(fn, encoding.strtolocal(message))
 
         status = scmutil.status(