From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1672A158086 for ; Tue, 12 Oct 2021 20:02:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1394DE0849; Tue, 12 Oct 2021 20:02:38 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE0AEE0830 for ; Tue, 12 Oct 2021 20:02:36 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1maNys-0001kd-Tr for gentoo-user@lists.gentoo.org; Tue, 12 Oct 2021 22:02:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Migrate from rsync to git for emerge --sync? Date: Tue, 12 Oct 2021 20:02:28 -0000 (UTC) Message-ID: User-Agent: slrn/1.0.3 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d25af471-f36e-472b-be3b-342a41e2b5af X-Archives-Hash: 3d119bca1edaf3481fa8b1ade6b2e629 How do you migrate from rsync to git for 'emerge --sync'? I changed my /etc/porttage/repos.conf/gentoo.conf file as shown in various places, but when I try to do a sync, git barfs: # emerge --sync >>> Syncing repository 'gentoo' into '/usr/portage'... /usr/bin/git clone --depth 1 https://github.com/gentoo-mirror/gentoo.git . fatal: destination path '.' already exists and is not an empty directory. !!! git clone error in /usr/portage Despite what multiple blog and wiki pages claim, it seems it's not as simple as editing you gentoo.conf file. Do I need to wipe the contents of /usr/portage and start with an emptry directory there?