Subject: Re: bug#77984: [PATCH] Update mercurial to 6.9.5 and disable failing test

From: "Dr. Arne Babenhauserheide" <[email-masked]>
Date: Sat, 26 Apr 2025 11:45:42 +0200

Hi,

Just the rebased version of the patch.

From aebc32c9eb5e097130449043fa87a49b68f5e326 Mon Sep 17 00:00:00 2001
Message-ID: <[email-masked]>
From: Arne Babenhauserheide <[email-masked]>
Date: Thu, 24 Apr 2025 18:43:35 +0200
Subject: [PATCH] Update mercurial to 6.9.5 and disable failing test

* gnu/packages/version-control.scm (mercurial): update to 6.9.5
* gnu/packages/version-control.scm (mercurial): disable test-revlog-mmapindex.t

Change-Id: I48f26635b896fb6038b7f656a53395e79c0ee43a
---
 gnu/packages/version-control.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index d9e7dd249f4..1a5962b9930 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2624,7 +2624,7 @@ (define-public python-pre-commit
 (define-public mercurial
   (package
     (name "mercurial")
-    (version "6.7.2")
+    (version "6.9.5")
     (source (origin
              (method url-fetch)
              (uri (string-append "https://www.mercurial-scm.org/"
@@ -2632,7 +2632,7 @@ (define-public mercurial
              (patches (search-patches "mercurial-hg-extension-path.patch"))
              (sha256
               (base32
-               "01nqvp3cvidlz9z5vm05vpq81r6x10jwwfcaz0gw9anz0l60f8hw"))))
+               "1zb5rjqs5z0y900hml0v4wsmv59cdhi50a8kcbjxdp79z7p2mwnk"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags
@@ -2657,6 +2657,11 @@ (define-public mercurial
                            ;; PATH from before (that's why we are building it!)?
                            "test-hghave.t"
 
+                           ;; This test is missing a debug line
+                           ;; mmapping $TESTTMP/a/.hg/store/00changelog.i (no-pure !)
+                           ;; but the relevant output is correct.
+                           "test-revlog-mmapindex.t"
+
                            ;; This test creates a shebang spanning multiple
                            ;; lines which is difficult to substitute.  It
                            ;; only tests the test runner itself, which gets

base-commit: 7ff20b9e94c429f1160bd8f0db86b153a03e4683
-- 
2.49.0

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de