Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2020 15:07:14 +0100
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@freebsd.org>
To:        Rene Ladan <rene@freebsd.org>
Cc:        Dimitry Andric <dim@freebsd.org>, git@freebsd.org
Subject:   Re: cgit-beta ports repository diverged?
Message-ID:  <X8JZkkWPMcCqxxvh@acme.spoerlein.net>
In-Reply-To: <20201128134045.GA35756@freefall.freebsd.org>
References:  <20201128113854.GA12390@freefall.freebsd.org> <02A9FD74-7FE5-4AFA-A7B0-7AA96C2FADA3@FreeBSD.org> <20201128134045.GA35756@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2020-11-28 at 13:40:45 +0000, Rene Ladan wrote:
>On Sat, Nov 28, 2020 at 12:44:49PM +0100, Dimitry Andric wrote:
>> On 28 Nov 2020, at 12:38, Rene Ladan <rene@freebsd.org> wrote:
>> >
>> > I just noticed that after doing a 'git pull' that the ports repository
>> > at cgit-beta seems to have diverged:
>> >
>> >  rene@e17:/usr/freebsd/cgit-beta/ports % git status
>> >  On branch main
>> >  Your branch and 'origin/main' have diverged,
>> >  and have 546213 and 528036 different commits each, respectively.
>> >  (use "git pull" to merge the remote branch into yours)
>> >
>> >  It took 5.85 seconds to compute the branch ahead/behind values.
>> >  You can use '--no-ahead-behind' to avoid this.
>> >
>> >  nothing to commit, working tree clean
>> >  rene@e17:/usr/freebsd/cgit-beta/ports % git fetch
>> >  rene@e17:/usr/freebsd/cgit-beta/ports % git pull
>> >  fatal: refusing to merge unrelated histories
>> >  rene@e17:/usr/freebsd/cgit-beta/ports %
>> >
>> > and what happened to those 18000 commits?
>>
>> I think you just missed Ulrich's heads-up mail :-)
>>
>> https://lists.freebsd.org/pipermail/freebsd-git/2020-November/000505.html
>>
>Yes, I was a bit too fast noticing myself ;)

Yeah, sorry about that. I typically test new rulesets on my own machine 
and compare the results first, somehow I only did this for src when I 
did the history for the `access` file and for ports it lives not under 
svnadmin but under head/CVSROOT and I somehow didn't test that, wanting 
to get the change out and over with.

With the right git incantation you should be able to rebase your work on 
the new upstream master just fine.

Sorry for the inconvenience,
Uli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X8JZkkWPMcCqxxvh>