Subject: Multiple channels with the same name hangs 'guix pull'

From: Maxim Cournoyer <[email-masked]>
Date: Sun, 20 Oct 2019 21:50:47 -0400

Hello!

When using a channels.scm file such as:

--8<---------------cut here---------------start------------->8---
(cons* (channel
	(name 'my-channel)
	(url "https://gitlab.com/Apteryks/sfl-guix-channel"))
       (channel
	(name 'my-channel)
	(url "https://gitlab.com/Apteryks/my-guix-channel"))
       %default-channels)
--8<---------------cut here---------------end--------------->8---

It should throw an error, but instead it hangs indefinitely, like:

guix pull
Updating channel 'my-channel' from Git repository at 'https://gitlab.com/Apteryks/sfl-guix-channel'...
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
[hair starts greying out]

Maxim