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

Mike Gerdts mgerdts at gmail.com
Sat Aug 14 04:53:29 PDT 2010


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.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/



More information about the Developer mailing list