unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Yagnesh Raghava Yakkala <hi@yagnesh.org>
Cc: guix-devel@gnu.org, bug-guix@gnu.org
Subject: Re: undoing a --roll-back
Date: Sun, 06 Apr 2014 21:33:40 +0200	[thread overview]
Message-ID: <8738hqz20b.fsf@gnu.org> (raw)
In-Reply-To: <87eh1a4amv.fsf@sealion.lowtem.hokudai.ac.jp> (Yagnesh Raghava Yakkala's message of "Mon, 07 Apr 2014 02:43:04 +0900")

(Adding bug-guix so we keep track of it.)

Yagnesh Raghava Yakkala <hi@yagnesh.org> skribis:

> I am trying to understand rollback feature. I have five generations in the
> package history. As I operated roll-back command, my "current" generation sets
> to 3 from 4 (shell log pasted below). Now how can I return to 4. More general, can I
> go to a desired generation by giving number?  say "guix package --goto-generation #"

Good question.  We can’t do that at the moment, but it would be simple
to add.

In the meantime you can do it by hand by changing the target of the
/var/guix/profiles/per-user/$USER/guix-profile symlink (or similar.)

Thanks,
Ludo’.

  reply	other threads:[~2014-04-06 19:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-06 17:43 undoing a --roll-back Yagnesh Raghava Yakkala
2014-04-06 19:33 ` Ludovic Courtès [this message]
2014-04-07  9:13   ` Yagnesh Raghava Yakkala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738hqz20b.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guix@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=hi@yagnesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).