Mercurial > forks > mercurial
changeset 53198:8c8d41e2f004
hghave: also match emacs version 30+
Otherwise we start skipping with newer version. Such version is available in the
latest alpine that we plan to use to run tests.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 17 Apr 2025 10:18:11 +0200 |
parents | 34f926d45d8e |
children | e314705edcd2 |
files | tests/hghave.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hghave.py Thu Apr 17 23:29:21 2025 +0200 +++ b/tests/hghave.py Thu Apr 17 10:18:11 2025 +0200 @@ -1070,7 +1070,9 @@ # Our emacs lisp uses `with-eval-after-load` which is new in emacs # 24.4, so we allow emacs 24.4, 24.5, and 25+ (24.5 was the last # 24 release) - return matchoutput('emacs --version', b'GNU Emacs 2(4.4|4.5|5|6|7|8|9)') + return matchoutput( + 'emacs --version', br'GNU Emacs (3\d|2(4.4|4.5|5|6|7|8|9))' + ) @check(