On Thu, 17 Jun 2021 at 02:01, Martin Sebor wrote:
>
> On 6/16/21 6:40 PM, Jason Merrill wrote:
> > On 6/16/21 8:17 PM, Martin Sebor wrote:
> >> 3) adds the PR component/nnnnn to each ChangeLog
> >
> > This would be reverting the r12-771 change, which seems both unrelated
> > and undesirable.
>
> Now I'm confused. Isn't that just what caused the problem to begin
> with? (The bug not being updated with the commit because it's not
> in the ChangeLog entries?)
No.
The original problem is that the PR wasn't in the body of the commit AT ALL.
The current mklog.py will do this:
PR cmpt/nnnn
gcc/ChangeLog:
* blah.c (blah): Blah blah.
That will cause updates to bugzilla, it works fine. You do not need to
change it to:
gcc/ChangeLog:
PR cmpt/nnnn
* blah.c (blah): Blah blah.
That would also work, but isn't necessary (and would be reverting the
r12-771 change).
Either of the forms above will update bugzilla. The original problem
was that neither of those forms was used.