From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: tromey@redhat.com Cc: Gdb List Subject: Re: Mentioning PR's in ChangeLogs Date: Mon, 26 Feb 2001 08:40:00 -0000 Message-id: <3A9A865D.5EB3495D@cygnus.com> References: <3A8D7872.18F39077@cygnus.com> <87u25k1pv2.fsf@creche.redhat.com> X-SW-Source: 2001-02/msg00367.html Tom Tromey wrote: Hmm, this is the answer I was looking for! > FYI: on sources, if your CVSROOT/loginfo is set up properly, you can > have commits which mention a PR automatically be appended to the PR. > > You have to mention the PR in the commit message with the correct > syntax, namely it must contain the text `PR category/NNN', where > `category' is the correct category name for the PR and `NNN' is the PR > number. > > This puts the commit message into the PR. If you've turned on cvsweb > URLs for the commit messages (again in loginfo) then this provides a > simple gnats/cvs integration: you can go directly from the PR to the > patches which supposedly fixed it. > > In gcj-land we've adopted the policy of including text like `Fixed PR > gcj/2929' in the ChangeLog entry. That's in addition to, not in place > of, whatever other ChangeLog description we write. Making it: ..... Fixed PR gdb/4705. will tweek. Andrew