[illumos-Developer] Bug ID's in hg commit comments

Garrett D'Amore garrett at damore.org
Sat Aug 14 08:48:00 PDT 2010


On 08/14/10 04:53 AM, Mike Gerdts wrote:
> My understanding is that changesets are expected to be
> pulled/pushed/merged between various hg repositories.  Presumably some
> of those repositories will correspond to other organizations'
> engineering environments that each have a bug tracking system.  This
> seems likely to make it increasingly difficult to figure out which bug
> tracking system to look at to get the full story behind various
> commits.
>
> Would it make sense to have commit messages that look like:
>
> io:12 libc breaks lex
> Reviewed by: matt at greenviolet.net
> Approved by: garrett at nexenta.com
>
> The added "io:" is shorthand for "illumos.org".  These identifiers
> could then be filtered in the "hg serve" instance running at
> hg.illumos.org to provide a hyperlink to the appropriate bug tracking
> system.  See http://hg.genunix.org/onnv-gate.hg/rev/ac4251963b1b for
> an example of an existing hg instance that does this type of
> filtering.
>
>    

I have contemplated this before actually.  Its a good idea.

Anyone have any strong opinions one way or the other?  Rich, is it 
possible to retroactively fix the couple of commits that we have already 
done?

     -Garrett



More information about the Developer mailing list