[illumos-Developer] Bug ID's in hg commit comments
Richard Lowe
richlowe at richlowe.net
Sat Aug 14 11:23:29 PDT 2010
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.
webrev has the ability to smartly fix up links in that format, too, via
its its configuration. I had planned to work on fixing up the tools for
the new world next, and in doing so will make this scheme possible
(unavoidably).
I have no opinion on whether to actually use the prefixes.
-- Rich
More information about the Developer
mailing list