aboutsummaryrefslogtreecommitdiff
path: root/guix-gc.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-17 22:41:47 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-17 22:42:39 +0100
commit9241172c9dc41ac026f05837dc6f089b1a3745e0 (patch)
treeede4741b6a1ae27286b450c716212557d3937005 /guix-gc.in
parent24e262f086980a13d9d0a27615ed7eaec4aacbff (diff)
downloadguix-9241172c9dc41ac026f05837dc6f089b1a3745e0.tar
guix-9241172c9dc41ac026f05837dc6f089b1a3745e0.tar.gz
guix-package: Allow `--roll-back' to skip missing generations.
* guix-package.in (profile-numbers): New procedure. (latest-profile-number): Use it. (previous-profile-number): New procedure. (roll-back): Use it lieu of `1-'. Check whether PREVIOUS-NUMBER is zero, and raise an error when it is. * tests/guix-package.sh: Test whether we can roll back over a "hole".
Diffstat (limited to 'guix-gc.in')
0 files changed, 0 insertions, 0 deletions