comparison mercurial/dirstate.py @ 51629: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 79cd29d598af
children 513597087b89
comparison
equal deleted inserted replaced
51627:6ec4c745c598 51629:eb11153c1698
1595 ), 1595 ),
1596 b"No such file or directory", 1596 b"No such file or directory",
1597 ) 1597 )
1598 ) 1598 )
1599 1599
1600 for fn, message in bad: 1600 for fn, message in sorted(bad):
1601 matcher.bad(fn, encoding.strtolocal(message)) 1601 matcher.bad(fn, encoding.strtolocal(message))
1602 1602
1603 status = scmutil.status( 1603 status = scmutil.status(
1604 modified=modified, 1604 modified=modified,
1605 added=added, 1605 added=added,