HEADS UP: freebsd-ports hashes were all changed

Rene Ladan rene at freebsd.org
Sat Nov 28 20:55:28 UTC 2020


On Sat, Nov 28, 2020 at 01:41:02PM -0700, Warner Losh wrote:
> On Sat, Nov 28, 2020 at 9:51 AM Rene Ladan <rene at freebsd.org> wrote:
> 
> > On Sat, Nov 28, 2020 at 12:52:01PM +0100, Ulrich Spörlein wrote:
> > > On Sat, 2020-11-28 at 12:24:41 +0100, Ulrich Spörlein wrote:
> > > >Hi folks, bad news
> > > >
> > > >While carving out the history of the access and mentors file (we want to
> > > >retain that for historical analysis, which people seem to do from time
> > > >to time), I overlooked that fact that the previous runs for ports did
> > > >contain all of CVSROOT, but the new one, by necessity would not contain
> > > >CVSROOT/{access,mentors}, in fact, I dropped the whole CVSROOT prefix
> > > >from the latest rules file. It should never have been there in the first
> > > >place. :(
> > > >
> > > >All that is to say that this of course means all the git commit hashes
> > > >for the ports tree have changed. Oops.
> > > >
> > > >Sorry about that, please let me know if you need help in transplanting
> > > >your work from old hashes to new hashes.
> > >
> > The web finds [1] which would translate to
> >
> > git merge orgin main --allow-unrelated-histories
> >
> > but I'm not sure if this is the correct hammer?
> >
> > [1]
> > https://github.com/git/git/blob/master/Documentation/RelNotes/2.9.0.txt#L58-L68
> >
> 
> I'm not sure either. What does your tree look like? Is it just tracking
> upstream? Or do you have changes / branches?
> 
I have a few local branches for some WIP things that I keep in sync with main.
None of those are pushed obviously. If all else fails I can just reclone the
repository and recreate those branches, they are of a temporary nature.

René


More information about the freebsd-git mailing list