On 5/30/2013 4:01 PM, Jonas Finnemann Jensen wrote:
You're in luck; I believe the code for that is there, and it just
misconfigured or a little bitrotted. I'll bump it to the top of the list.
A word of warning about the hg plugin, it includes the log message once for
each line...
This might blow up the HTML file size more than it already is... So you
might want to checkout file size of a big cpp files before you enable this
in production.
(I think there is a suggestion in plugins/hg/htmlifier.py about refactoring
annotations, etc.)
But it might be better to lazy load blame information on demand.
I've started work on a plugin called "omniglot" [see my fork of DXR]
which adds all of this information for both git and hg (and will
eventually support bzr, cvs, and svn when I find time--hence the name).
For the present, only the links are added; I plan to eventually add the
same support that hg has, but loading all of that information
dynamically instead of sticking it in the .html file statically (which
causes a blow up of about 10x or more IIRC).
Also, unlike hg, omniglot tries to guess the upstream source of the
information by looking at where the code you'd get from "hg pull" (or
equivalent) comes from, requiring less configuration.
--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis