unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32618: Channels: guix pull error when specifying branch
@ 2018-09-03  1:33 Eric Brown
  2018-09-05 21:55 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Brown @ 2018-09-03  1:33 UTC (permalink / raw)
  To: 32618

I am trying the new Channels, working with a
~/.config/guix/channels.scm:

`guix pull' completes when a commit is specified:
(list (channel
       (name 'guix)
       (url "https://git.savannah.gnu.org/git/guix.git")
       (commit "391097782311c82c04b171db7373a0bbfc1d8653")))

but not when the branch name is specified:
(list (channel
       (name 'guix)
       (url "https://git.savannah.gnu.org/git/guix.git")
       (branch "master")))

guix pull: error: Git error: cannot locate remote-tracking branch 'master'

I have tested with my own site as well:
       (url "https://ericcbrown.com:8888/ecbrown/guix.git")

and I see the same behavior.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#32618: Channels: guix pull error when specifying branch
  2018-09-03  1:33 bug#32618: Channels: guix pull error when specifying branch Eric Brown
@ 2018-09-05 21:55 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-09-05 21:55 UTC (permalink / raw)
  To: Eric Brown; +Cc: 32618-done

Hi Eric,

Eric Brown <brown@fastmail.com> skribis:

> I am trying the new Channels, working with a
> ~/.config/guix/channels.scm:
>
> `guix pull' completes when a commit is specified:
> (list (channel
>        (name 'guix)
>        (url "https://git.savannah.gnu.org/git/guix.git")
>        (commit "391097782311c82c04b171db7373a0bbfc1d8653")))
>
> but not when the branch name is specified:
> (list (channel
>        (name 'guix)
>        (url "https://git.savannah.gnu.org/git/guix.git")
>        (branch "master")))
>
> guix pull: error: Git error: cannot locate remote-tracking branch 'master'

Until now you had to write "origin/master" instead of "master".

This is now fixed in commit 37a6cdbf1b3503d3e60840a176318284b1f7ca25.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-05 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-03  1:33 bug#32618: Channels: guix pull error when specifying branch Eric Brown
2018-09-05 21:55 ` Ludovic Courtès

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).