mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
time-machine: Allow time travels to v0.16.0.
* guix/scripts/time-machine.scm (%oldest-possible-commit): Change to v0.16.0. * tests/guix-time-machine.sh: Adjust comment. Change-Id: I9ad82bd45fee0d172b5348a8ae16e990338a3a97
This commit is contained in:
parent
001dfb8957
commit
a26bce55e6
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2019 Konrad Hinsen <konrad.hinsen@fastmail.net>
|
||||
;;; Copyright © 2019, 2020, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2019-2021, 2023-2024 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
||||
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;;
|
||||
|
@ -147,7 +147,7 @@ (define (parse-args args)
|
|||
;;; firmed up in v1.0.0; it is the oldest, safest commit that can be travelled
|
||||
;;; to.
|
||||
(define %oldest-possible-commit
|
||||
"6298c3ffd9654d3231a6f25390b056483e8f407c") ;v1.0.0
|
||||
"4a0b87f0ec5b6c2dcf82b372dd20ca7ea6acdd9c") ;v0.16.0
|
||||
|
||||
(define %reference-channels
|
||||
(list (channel (inherit %default-guix-channel)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# GNU Guix --- Functional package management for GNU
|
||||
# Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
# Copyright © 2023 Ludovic Courtès <ludo@gnu.org>
|
||||
# Copyright © 2023-2024 Ludovic Courtès <ludo@gnu.org>
|
||||
#
|
||||
# This file is part of GNU Guix.
|
||||
#
|
||||
|
@ -39,7 +39,7 @@ else
|
|||
EXTRA_OPTIONS=""
|
||||
fi
|
||||
|
||||
# Visiting a commit older than v1.0.0 must fail (this test is expensive
|
||||
# Visiting a commit older than v0.16.0 must fail (this test is expensive
|
||||
# because it clones the whole repository).
|
||||
guix time-machine -q --commit=v0.15.0 $EXTRA_OPTIONS -- describe && false
|
||||
|
||||
|
|
Loading…
Reference in a new issue