Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2020 15:28:17 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, git@freebsd.org
Subject:   Re: Strange commit
Message-ID:  <CAPyFy2CyY7aVGa0DB4Lue16CrhrDs_o3QoXm8UMt0qajMX4pgQ@mail.gmail.com>
In-Reply-To: <CACNAnaEkRf7f-4yKaNo7v=FCXR63qQeS%2By-q0%2BhTuG6-6N_MbQ@mail.gmail.com>
References:  <CANCZdfrRuLf6Q3Q-XzDe5wpSV3XCvkhht2ESh=bXbL6wAtt87g@mail.gmail.com> <CAJ9axoQOat%2BrgZ_69jwwf90NKUbLNuCz1SdjGvA4ufjE07hrGA@mail.gmail.com> <CANCZdfpgDt0=BeTg9m%2BD1CT=R-ioBctO4_M79yt39XrdRHhGzw@mail.gmail.com> <CACNAnaEkRf7f-4yKaNo7v=FCXR63qQeS%2By-q0%2BhTuG6-6N_MbQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Apr 2020 at 14:51, Kyle Evans <kevans@freebsd.org> wrote:
>
> I'm not sure I understand what's going on here... it's a merge commit
> that didn't have any new files or moved files. This is the exact
> result you get from svn merge -c from the vendor/ branch with just
> file modifications -- note the svn:mergeinfo.

My working theory right now is that svn2git fails to detect merge
commits that only modify existing files and do not copy any new files.
I found a document[1] that svn2git should parse mergeinfo, but that's
in the context of a working / topic branch, not a vendor branch. That
document does point out that "grafts" can be used to retrofit the
history after the conversion, if we must.

More investigation is needed.

[1] https://web.archive.org/web/20190515003725/http://blog.agavi.org/post/16865375185/fixing-svn-merge-history-in-git-repositories



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