janneke pushed a commit to branch hurd-team
in repository guix.
commit 44e8c4e69c63b20d989f017b2922b86c3cff77a6
Author: Janneke Nieuwenhuizen <[email protected]>
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)