From owner-freebsd-git@freebsd.org Sat May 1 17:07:11 2021 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8ECB963247E for ; Sat, 1 May 2021 17:07:11 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FXbJH3jmXz4jpf for ; Sat, 1 May 2021 17:07:11 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from [IPv6:2a02:6d40:36e8:a301:e8d0:b579:a5b8:7d31] (unknown [IPv6:2a02:6d40:36e8:a301:e8d0:b579:a5b8:7d31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: mfechner) by smtp.freebsd.org (Postfix) with ESMTPSA id 2DE481B77 for ; Sat, 1 May 2021 17:07:11 +0000 (UTC) (envelope-from mfechner@freebsd.org) From: Matthias Fechner Subject: Script rmport shows error message To: freebsd-git@freebsd.org Message-ID: <8613e467-9408-527f-d8f0-81a6db0bdce9@freebsd.org> Date: Sat, 1 May 2021 19:07:08 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2021 17:07:11 -0000 Dear all, I thought that the rmport script was already updated, but I cannot use it. I tried to execute it with: Tools/scripts/rmport databases/rubygem-gitlab-pg_query fatal: ambiguous argument 'remotes/origin/main': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' you have local commits, exiting But there are no local changes: ╰─ git status On branch main Your branch is up to date with 'freebsd/main'. nothing to commit, working tree clean The FreeBSD repository is under freebsd and not origin, maybe this is the source of the problem: ╰─ git remote -v freebsd https://git.freebsd.org/ports.git (fetch) freebsd git@gitrepo.freebsd.org:ports.git (push) origin  git@gitlab.fechner.net:mfechner/Gitlab.git (fetch) origin  git@gitlab.fechner.net:mfechner/Gitlab.git (push) Has anyone an idea how to fix/use this very useful script? Gruß Matthias Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook