Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 May 2021 19:07:08 +0200
From:      Matthias Fechner <mfechner@freebsd.org>
To:        freebsd-git@freebsd.org
Subject:   Script rmport shows error message
Message-ID:  <8613e467-9408-527f-d8f0-81a6db0bdce9@freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <command> [<revision>...] -- [<file>...]'
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8613e467-9408-527f-d8f0-81a6db0bdce9>