guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: Revert "gnu-maintenance: Do not error when there are no candidate


From: guix-commits
Subject: 02/06: Revert "gnu-maintenance: Do not error when there are no candidates."
Date: Sat, 23 Sep 2023 07:02:19 -0400 (EDT)

janneke pushed a commit to branch hurd-team
in repository guix.

commit 44e8c4e69c63b20d989f017b2922b86c3cff77a6
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Sep 23 10:44:47 2023 +0200

    Revert "gnu-maintenance: Do not error when there are no candidates."
    
    This reverts commit 87dab3e36b336bd9b972536e0031dbac82f0f38d.
---
 guix/gnu-maintenance.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 5a84fcb117..41e0f4443d 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -600,7 +600,7 @@ rewritten to something like
                                        links)))
                      ;; Retrieve the item having the largest version.
                      (if (null? candidates)
-                         parents
+                         (error "no candidates found in rewrite-url")
                          (cons (cdr (first (sort candidates
                                                  (lambda (x y)
                                                    (version>? (car x)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]